Shorten error messages

This commit is contained in:
Arun Prakash Jana 2017-12-24 21:22:54 +05:30
parent f2387898f3
commit 78f544c41d
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 2 deletions

4
nnn.c
View File

@ -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);
}