From b054120a5cde828bf2ca54d434dfb7f12ea0bf01 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 17 Jun 2007 12:52:33 +0200 Subject: inotail.c: One more unlikely --- inotail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inotail.c b/inotail.c index a9282c5..9bd7f21 100644 --- a/inotail.c +++ b/inotail.c @@ -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); } -- cgit v1.2.3-54-g00ecf