From: Arun Prakash Jana Date: Sun, 24 Dec 2017 15:52:54 +0000 (+0530) Subject: Shorten error messages X-Git-Tag: v1.6~7 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=78f544c41d28455e37e58eaba80a5a68e54886b3;p=nnn.git Shorten error messages --- diff --git a/nnn.c b/nnn.c index 1a8db332..8dfd4aab 100644 --- a/nnn.c +++ b/nnn.c @@ -2936,13 +2936,13 @@ main(int argc, char *argv[]) /* Initialize inotify */ inotify_fd = inotify_init1(IN_NONBLOCK); if (inotify_fd < 0) { - fprintf(stderr, "Cannot initialize inotify: %s\n", strerror(errno)); + fprintf(stderr, "inotify init! %s\n", strerror(errno)); exit(1); } #elif defined(BSD_KQUEUE) kq = kqueue(); if (kq < 0) { - fprintf(stderr, "Cannot initialize kqueue: %s\n", strerror(errno)); + fprintf(stderr, "kqueue init! %s\n", strerror(errno)); exit(1); }