Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x68k/usr.sbin/poffd usr1handler(): fix the logerror...



details:   https://anonhg.NetBSD.org/src/rev/2c6d932145ac
branches:  trunk
changeset: 504103:2c6d932145ac
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed Feb 21 22:55:51 2001 +0000

description:
usr1handler(): fix the logerror() call, use string 'shut'

diffstat:

 sys/arch/x68k/usr.sbin/poffd/poffd.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b908301ffa1e -r 2c6d932145ac sys/arch/x68k/usr.sbin/poffd/poffd.c
--- a/sys/arch/x68k/usr.sbin/poffd/poffd.c      Wed Feb 21 22:52:03 2001 +0000
+++ b/sys/arch/x68k/usr.sbin/poffd/poffd.c      Wed Feb 21 22:55:51 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: poffd.c,v 1.3 2000/02/20 16:18:56 minoura Exp $        */
+/*     $NetBSD: poffd.c,v 1.4 2001/02/21 22:55:51 jdolecek Exp $       */
 /*
  * Copyright (c) 1995 MINOURA Makoto.
  * All rights reserved.
@@ -232,7 +232,7 @@
        sigsetmask (sigsetmask (0) & (~sigmask (SIGUSR1)));
        unlink (_PATH_POFFDPID);
        execl(_PATH_BSHELL, "sh", "-c", shut, NULL);
-       logerror("Failed in exec: %s");
+       logerror("Failed in exec: %s", shut);
        exit(1);
 }
 



Home | Main Index | Thread Index | Old Index