X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Freadahead%2Fsd-readahead.c;h=675d82cdd18bf9c87dc64006c64ca77e2c5ffa77;hb=bcb161b0230f;hp=4a096eed427779c3b326c3bef08daa903d5dc419;hpb=0ad4e1a872e789c77828d4c4825a56241103650c;p=elogind.git diff --git a/src/readahead/sd-readahead.c b/src/readahead/sd-readahead.c index 4a096eed4..675d82cdd 100644 --- a/src/readahead/sd-readahead.c +++ b/src/readahead/sd-readahead.c @@ -65,7 +65,7 @@ static int touch(const char *path) { if (close(fd) >= 0) break; - if (errno != -EINTR) + if (errno != EINTR) return -errno; }