]> Sergey Matveev's repositories - nnn.git/commitdiff
Shorten error messages
authorArun Prakash Jana <engineerarun@gmail.com>
Sun, 24 Dec 2017 15:52:54 +0000 (21:22 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sun, 24 Dec 2017 15:52:54 +0000 (21:22 +0530)
nnn.c

diff --git a/nnn.c b/nnn.c
index 1a8db33296a63de7c4442970ae01a7b3a5e8aa09..8dfd4aab678d2d97869aab087395458323e921c0 100644 (file)
--- 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);
        }