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) { diff --git a/src/journal/journald.c b/src/journal/journald.c index baad3ab..1899ad6 100644 --- a/src/journal/journald.c +++ b/src/journal/journald.c @@ -2144,7 +2144,7 @@ static int process_event(Server *s, struct epoll_event *ev) { uint8_t buf[CMSG_SPACE(sizeof(struct ucred)) + CMSG_SPACE(sizeof(struct timeval)) + CMSG_SPACE(sizeof(int)) + - CMSG_SPACE(PAGE_SIZE)]; /* selinux label */ + CMSG_SPACE(PATH_MAX)]; /* selinux label */ } control; ssize_t n; int v;