[PATCH] journal: char is unsigned on ppc, use int8_t instead.

Frederic Crozat fcrozat at suse.com
Thu Mar 22 01:39:54 PDT 2012


---
 src/journal/cat.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/journal/cat.c b/src/journal/cat.c
index 31d76f3..8a51fb7 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 int8_t arg_priority = LOG_INFO;
 static bool arg_level_prefix = true;
 
 static int help(void) {
-- 
1.7.7


--=-Ajbxll7QEcd5IpddDg/x--



More information about the systemd-devel mailing list