summaryrefslogtreecommitdiff
path: root/libexec/rpc.rstatd
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-07-08 20:19:36 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-07-08 20:19:36 +0000
commit121b6a2099fd3820e612fc345a23a17a42e3386a (patch)
tree727fc73554fd61a775c8bab60d1f2506171e4c2b /libexec/rpc.rstatd
parentde8f1440cc63b2f7e93bcf470a62eb3f28c7b3f3 (diff)
daemons can't fprintf(stderr, "blah"), use syslog(3)
Diffstat (limited to 'libexec/rpc.rstatd')
-rw-r--r--libexec/rpc.rstatd/rstat_proc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/rpc.rstatd/rstat_proc.c b/libexec/rpc.rstatd/rstat_proc.c
index d002a9deb2b..5b6e8f2c139 100644
--- a/libexec/rpc.rstatd/rstat_proc.c
+++ b/libexec/rpc.rstatd/rstat_proc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rstat_proc.c,v 1.5 1997/04/17 00:06:30 weingart Exp $ */
+/* $OpenBSD: rstat_proc.c,v 1.6 1997/07/08 20:19:35 kstailey Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -31,7 +31,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)rpc.rstatd.c 1.1 86/09/25 Copyr 1984 Sun Micro";*/
/*static char sccsid[] = "from: @(#)rstat_proc.c 2.2 88/08/01 4.0 RPCSRC";*/
-static char rcsid[] = "$OpenBSD: rstat_proc.c,v 1.5 1997/04/17 00:06:30 weingart Exp $";
+static char rcsid[] = "$OpenBSD: rstat_proc.c,v 1.6 1997/07/08 20:19:35 kstailey Exp $";
#endif
/*
@@ -463,7 +463,7 @@ rstat_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: