summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-03-27 00:20:48 +0200
committerLennart Poettering <lennart@poettering.net>2012-03-27 00:20:48 +0200
commitd508ac0ba0c43efa8caacdd8050970efb1e30243 (patch)
tree3324d5e3c7fd6f7c299f66f9f9ddcd196bab2490 /src
parent2bd3c38a44c5c3acbf5afdb9c0bcbaf4a72dac3f (diff)
cat: fix priority type
Needs to be "int", not "char". Spotted by Frederic Crozat.
Diffstat (limited to 'src')
-rw-r--r--src/journal/cat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/cat.c b/src/journal/cat.c
index 31d76f33bb..f0a666642c 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) {