summaryrefslogtreecommitdiffhomepage
path: root/sysklogd
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-11-29 16:45:45 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2013-11-29 16:45:45 +0100
commit327f550669a80d72f36bc9e4de619c163aa46eff (patch)
treed304092aeb06539085be1385ab9298876c414b44 /sysklogd
parent9b2a9f0210f13f1c59c0b954c4aa0eeb0a66efd1 (diff)
Use unsigned printf/scanf conversion where more appropriate
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/logread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysklogd/logread.c b/sysklogd/logread.c
index 92a562919..bea73d932 100644
--- a/sysklogd/logread.c
+++ b/sysklogd/logread.c
@@ -126,7 +126,7 @@ int logread_main(int argc UNUSED_PARAM, char **argv)
shbuf_data = shbuf->data; /* pointer! */
if (DEBUG)
- printf("cur:%d tail:%i size:%i\n",
+ printf("cur:%u tail:%u size:%u\n",
cur, shbuf_tail, shbuf_size);
if (!follow) {