diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2007-06-17 12:52:33 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@xenon.tklauser.home> | 2007-06-17 12:52:33 +0200 |
commit | b054120a5cde828bf2ca54d434dfb7f12ea0bf01 (patch) | |
tree | 64268188bd88f75e66797a7fc38e40df0291ada2 | |
parent | e7dd7209b8b3c7fcf0a2ca681470d33a9cb09267 (diff) |
inotail.c: One more unlikely
-rw-r--r-- | inotail.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -512,7 +512,7 @@ int main(int argc, char **argv) struct stat finfo; int rc = fstat(STDIN_FILENO, &finfo); - if (rc == -1) { + if (unlikely(rc == -1)) { fprintf(stderr, "Error: Could not stat stdin (%s)\n", strerror(errno)); exit(EXIT_FAILURE); } |