From d2023283ac87737cf0fbd77f4cbb1bb7b390009d Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 23 Nov 2007 23:39:01 +0000 Subject: fix buglets found by randomconfig --- sysklogd/logger.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysklogd') diff --git a/sysklogd/logger.c b/sysklogd/logger.c index 60eac6ae6..970b05dc6 100644 --- a/sysklogd/logger.c +++ b/sysklogd/logger.c @@ -39,9 +39,9 @@ * * Original copyright notice is retained at the end of this file. */ -static int decode(char *name, CODE * codetab) +static int decode(char *name, const CODE *codetab) { - CODE *c; + const CODE *c; if (isdigit(*name)) return atoi(name); -- cgit v1.2.3