[systemd-commits] 2 commits - src/notify.c src/readahead-common.c

Lennart Poettering lennart at kemper.freedesktop.org
Tue Oct 5 12:49:25 PDT 2010


 src/notify.c           |    1 +
 src/readahead-common.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 7607fea6a1c3301f86dea204ab7c7e0d98385464
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Oct 5 21:49:17 2010 +0200

    readahead: fix printf format string

diff --git a/src/readahead-common.c b/src/readahead-common.c
index 908935e..d76188b 100644
--- 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) {
-                log_debug("Not preloading file %s with size out of bounds %lli", fn, (unsigned long long) st->st_size);
+                log_debug("Not preloading file %s with size out of bounds %llu", fn, (unsigned long long) st->st_size);
                 return 0;
         }
 
commit f031e85fc0a11636445e0bf50493c705942dd03f
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Oct 5 21:49:01 2010 +0200

    notify: add missing include

diff --git a/src/notify.c b/src/notify.c
index 61c4b0f..fe33ac0 100644
--- a/src/notify.c
+++ b/src/notify.c
@@ -31,6 +31,7 @@
 #include "util.h"
 #include "log.h"
 #include "sd-daemon.h"
+#include "sd-notify.h"
 
 static bool arg_ready = false;
 static pid_t arg_pid = 0;


More information about the systemd-commits mailing list