]> err.no Git - systemd/commitdiff
cat: fix priority type
authorLennart Poettering <lennart@poettering.net>
Mon, 26 Mar 2012 22:20:48 +0000 (00:20 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 26 Mar 2012 22:20:48 +0000 (00:20 +0200)
Needs to be "int", not "char". Spotted by Frederic Crozat.

src/journal/cat.c

index 31d76f33bb8c19ebf6f99c41f7398cce0c50c24d..f0a666642c64b75e2760f4dc23c0c8d7885a0c06 100644 (file)
@@ -33,7 +33,7 @@
 #include "build.h"
 
 static char *arg_identifier = NULL;
-static char arg_priority = LOG_INFO;
+static int arg_priority = LOG_INFO;
 static bool arg_level_prefix = true;
 
 static int help(void) {