summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-01-21 23:47:37 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-01-22 00:39:30 -0500
commit8facc3498ed037f842891ff55d1f60fe834f4ba0 (patch)
treeb0bfe51b9c233f985e6a17539b443f76ae413f0f /src/journal
parent213c305a2ff44c4b2ea7d0c96dd64be010ac797d (diff)
Fix some format strings for enums, they are signed
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journal-file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c
index c1b54046f..ec12e891a 100644
--- a/src/journal/journal-file.c
+++ b/src/journal/journal-file.c
@@ -323,7 +323,7 @@ static int journal_file_verify_header(JournalFile *f) {
} else if (state == STATE_ARCHIVED)
return -ESHUTDOWN;
else if (state != STATE_OFFLINE) {
- log_debug("Journal file %s has unknown state %u.", f->path, state);
+ log_debug("Journal file %s has unknown state %i.", f->path, state);
return -EBUSY;
}
}
@@ -2417,7 +2417,7 @@ void journal_file_dump(JournalFile *f) {
break;
default:
- printf("Type: unknown (%u)\n", o->object.type);
+ printf("Type: unknown (%i)\n", o->object.type);
break;
}