From: Todd C. Miller Date: Wed, 8 Aug 2007 20:07:33 +0000 (+0000) Subject: remove an ANSI-ism that crept in X-Git-Tag: SUDO_1_7_0~446 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bcdddfc0549c6be960bb4c00f3c4798400bbc18b;p=sudo remove an ANSI-ism that crept in --- diff --git a/logging.c b/logging.c index 6d251f67b..813fd647e 100644 --- a/logging.c +++ b/logging.c @@ -131,8 +131,8 @@ do_syslog(pri, msg) size_t len, maxlen; char *p, *tmp, save; const char *fmt; - const char fmt_first[] = "%8s : %s"; - const char fmt_contd[] = "%8s : (command continued) %s"; + const char *fmt_first = "%8s : %s"; + const char *fmt_contd = "%8s : (command continued) %s"; /* * Log the full line, breaking into multiple syslog(3) calls if necessary