commit 78f544c41d28455e37e58eaba80a5a68e54886b3
parent f2387898f3520f6ba86f68b96829e9042984aa58
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Sun, 24 Dec 2017 21:22:54 +0530
Shorten error messages
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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);
}