aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-12-24 21:22:54 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-12-24 21:22:54 +0530
commit78f544c41d28455e37e58eaba80a5a68e54886b3 (patch)
tree94770375b0d3b001bc0b804898aec1ec1ac697f7
parentf2387898f3520f6ba86f68b96829e9042984aa58 (diff)
downloadnnn-78f544c41d28455e37e58eaba80a5a68e54886b3.tar.gz
Shorten error messages
-rw-r--r--nnn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nnn.c b/nnn.c
index 1a8db33..8dfd4aa 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);
}