From: Lennart Poettering Date: Mon, 26 Mar 2012 22:20:48 +0000 (+0200) Subject: cat: fix priority type X-Git-Tag: v183~477 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d508ac0ba0c43efa8caacdd8050970efb1e30243;p=systemd cat: fix priority type Needs to be "int", not "char". Spotted by Frederic Crozat. --- diff --git a/src/journal/cat.c b/src/journal/cat.c index 31d76f33..f0a66664 100644 --- a/src/journal/cat.c +++ b/src/journal/cat.c @@ -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) {