summaryrefslogtreecommitdiff
path: root/src/readahead/sd-readahead.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/readahead/sd-readahead.c')
-rw-r--r--src/readahead/sd-readahead.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/readahead/sd-readahead.c b/src/readahead/sd-readahead.c
index 4a096eed42..675d82cdd1 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;
}