Source-Changes-HG archive

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

[src/trunk]: src/sbin/init these are syslog-like



details:   https://anonhg.NetBSD.org/src/rev/499dd9896a6a
branches:  trunk
changeset: 341010:499dd9896a6a
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Oct 14 15:53:24 2015 +0000

description:
these are syslog-like

diffstat:

 sbin/init/init.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r 8897c469d718 -r 499dd9896a6a sbin/init/init.c
--- a/sbin/init/init.c  Wed Oct 14 15:52:40 2015 +0000
+++ b/sbin/init/init.c  Wed Oct 14 15:53:24 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: init.c,v 1.106 2015/06/16 23:18:55 christos Exp $      */
+/*     $NetBSD: init.c,v 1.107 2015/10/14 15:53:24 christos Exp $      */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -42,7 +42,7 @@
 #if 0
 static char sccsid[] = "@(#)init.c     8.2 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: init.c,v 1.106 2015/06/16 23:18:55 christos Exp $");
+__RCSID("$NetBSD: init.c,v 1.107 2015/10/14 15:53:24 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -110,9 +110,9 @@
 static void handle(sig_t, ...);
 static void delset(sigset_t *, ...);
 
-static void stall(const char *, ...) __printflike(1, 2);
-static void warning(const char *, ...) __printflike(1, 2);
-static void emergency(const char *, ...) __printflike(1, 2);
+static void stall(const char *, ...) __sysloglike(1, 2);
+static void warning(const char *, ...) __sysloglike(1, 2);
+static void emergency(const char *, ...) __sysloglike(1, 2);
 __dead static void disaster(int);
 static void badsys(int);
 



Home | Main Index | Thread Index | Old Index