From 78f544c41d28455e37e58eaba80a5a68e54886b3 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 24 Dec 2017 21:22:54 +0530 Subject: [PATCH] Shorten error messages --- nnn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }