chiark / gitweb /
readahead: fix printf format string
[elogind.git] / src / readahead-common.c
index a8f6fb30f81a366550d24f0c58ffdf14d0370ea8..d76188b71f4c09de305f2a6556059f39b7d98d72 100644 (file)
@@ -49,7 +49,7 @@ int file_verify(int fd, const char *fn, off_t file_size_max, struct stat *st) {
         }
 
         if (st->st_size <= 0 || st->st_size > file_size_max) {
-                log_debug("Not preloading file %s with size out of bounds %zi", fn, st->st_size);
+                log_debug("Not preloading file %s with size out of bounds %llu", fn, (unsigned long long) st->st_size);
                 return 0;
         }