Source-Changes-HG archive

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

[src/trunk]: src/libexec/rpc.rusersd use syslog instead of fprintf, otherwise...



details:   https://anonhg.NetBSD.org/src/rev/d7291b9786e8
branches:  trunk
changeset: 474438:d7291b9786e8
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jul 06 14:36:10 1999 +0000

description:
use syslog instead of fprintf, otherwise no-one will see the error

diffstat:

 libexec/rpc.rusersd/rusers_proc.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r afe8707cdc0b -r d7291b9786e8 libexec/rpc.rusersd/rusers_proc.c
--- a/libexec/rpc.rusersd/rusers_proc.c Tue Jul 06 14:10:21 1999 +0000
+++ b/libexec/rpc.rusersd/rusers_proc.c Tue Jul 06 14:36:10 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rusers_proc.c,v 1.20 1998/08/12 14:47:30 christos Exp $        */
+/*     $NetBSD: rusers_proc.c,v 1.21 1999/07/06 14:36:10 christos Exp $        */
 
 /*-
  *  Copyright (c) 1993 John Brezak
@@ -30,7 +30,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: rusers_proc.c,v 1.20 1998/08/12 14:47:30 christos Exp $");
+__RCSID("$NetBSD: rusers_proc.c,v 1.21 1999/07/06 14:36:10 christos Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -464,7 +464,7 @@
                svcerr_systemerr(transp);
        }
        if (!svc_freeargs(transp, xdr_argument, (caddr_t)&argument)) {
-               (void)fprintf(stderr, "unable to free arguments\n");
+               syslog(LOG_ERR, "unable to free arguments");
                exit(1);
        }
 leave:



Home | Main Index | Thread Index | Old Index