chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
readahead: fix printf format string
[elogind.git]
/
src
/
readahead-common.c
diff --git
a/src/readahead-common.c
b/src/readahead-common.c
index a8f6fb30f81a366550d24f0c58ffdf14d0370ea8..d76188b71f4c09de305f2a6556059f39b7d98d72 100644
(file)
--- a/
src/readahead-common.c
+++ b/
src/readahead-common.c
@@
-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) {
}
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;
}
return 0;
}