chiark / gitweb /
util: use alloca0() intead of alloca() + memzero()
[elogind.git] / src / readahead / sd-readahead.c
index 4a096eed427779c3b326c3bef08daa903d5dc419..675d82cdd18bf9c87dc64006c64ca77e2c5ffa77 100644 (file)
@@ -65,7 +65,7 @@ static int touch(const char *path) {
                 if (close(fd) >= 0)
                         break;
 
-                if (errno != -EINTR)
+                if (errno != EINTR)
                         return -errno;
         }