Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sbin/routed Pull up revision 1.25 (requested by is):



details:   https://anonhg.NetBSD.org/src/rev/419acc169632
branches:  netbsd-1-4
changeset: 470997:419acc169632
user:      he <he%NetBSD.org@localhost>
date:      Tue Oct 10 22:25:17 2000 +0000

description:
Pull up revision 1.25 (requested by is):
  Format string cleanup.

diffstat:

 sbin/routed/main.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 098032bc941a -r 419acc169632 sbin/routed/main.c
--- a/sbin/routed/main.c        Tue Oct 10 22:25:14 2000 +0000
+++ b/sbin/routed/main.c        Tue Oct 10 22:25:17 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.22 1999/02/25 10:56:47 ross Exp $   */
+/*     $NetBSD: main.c,v 1.22.2.1 2000/10/10 22:25:17 he Exp $ */
 
 /*
  * Copyright (c) 1983, 1988, 1993
@@ -38,7 +38,7 @@
 #define __COPYRIGHT(a) char copyright[] = a;
 #elif defined(__NetBSD__)
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: main.c,v 1.22 1999/02/25 10:56:47 ross Exp $");
+__RCSID("$NetBSD: main.c,v 1.22.2.1 2000/10/10 22:25:17 he Exp $");
 #endif
 __COPYRIGHT("@(#) Copyright (c) 1983, 1988, 1993\n\
        The Regents of the University of California.  All rights reserved.\n");
@@ -898,7 +898,8 @@
                trace_flush();
                for (p1 = p; *p1 == ' '; p1++)
                        continue;
-               vsyslog(LOG_ERR, p1, args);
+               p = p1;
+               vsyslog(LOG_ERR, p, args);
        }
 
        /* always display the message if tracing */



Home | Main Index | Thread Index | Old Index