[sudo-users] error 1716

Todd C. Miller Todd.Miller at courtesan.com
Wed Aug 8 16:07:46 EDT 2007


It looks lik like the one that ships with HP-UX (unless you pay for
the C89 one).  Try the following patch.

 - todd

Index: logging.c
===================================================================
RCS file: /home/cvs/courtesan/sudo/logging.c,v
retrieving revision 1.168.2.11
diff -u -r1.168.2.11 logging.c
--- logging.c	24 Jul 2007 15:52:37 -0000	1.168.2.11
+++ logging.c	8 Aug 2007 20:06:06 -0000
@@ -135,8 +135,8 @@
     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



More information about the sudo-users mailing list