summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>1999-07-06 14:36:10 +0000
committerchristos <christos@NetBSD.org>1999-07-06 14:36:10 +0000
commit6b709e3d6d43edffadd035ea2900e19f7c22dcab (patch)
tree67aa057ccf8884ee62926d184050da4fd765eac6 /libexec
parent9453db6b2d829628c925d7565da996223985fca6 (diff)
use syslog instead of fprintf, otherwise no-one will see the error
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rpc.rusersd/rusers_proc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/rpc.rusersd/rusers_proc.c b/libexec/rpc.rusersd/rusers_proc.c
index 6c39a573e69..4f64d8a773c 100644
--- a/libexec/rpc.rusersd/rusers_proc.c
+++ b/libexec/rpc.rusersd/rusers_proc.c
@@ -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 @@ rusers_service(rqstp, transp)
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: