X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Freadahead%2Fsd-readahead.c;h=675d82cdd18bf9c87dc64006c64ca77e2c5ffa77;hb=96197df081a16bec192a6cfb8f19674ca58f4835;hp=4a096eed427779c3b326c3bef08daa903d5dc419;hpb=24be98227483baf67094fa95b5633594446cd21a;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; }