summaryrefslogtreecommitdiff
path: root/sbin/savecore/savecore.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-03-25 23:38:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-03-25 23:38:54 +0000
commit8cf76a036dc20993a649fdf69fd302393cbf6f0d (patch)
tree3d7f99022e8b90480f9268d2db11f2d53eb50eb0 /sbin/savecore/savecore.c
parentbae2e0d73b57c06eb61e1cd7aec5cc61099ab12b (diff)
usage to stderr, not syslog
Diffstat (limited to 'sbin/savecore/savecore.c')
-rw-r--r--sbin/savecore/savecore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c
index 3a5316acb72..deca460a821 100644
--- a/sbin/savecore/savecore.c
+++ b/sbin/savecore/savecore.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: savecore.c,v 1.8 1996/12/29 12:21:26 graichen Exp $ */
+/* $OpenBSD: savecore.c,v 1.9 1998/03/25 23:38:52 deraadt Exp $ */
/* $NetBSD: savecore.c,v 1.26 1996/03/18 21:16:05 leo Exp $ */
/*-
@@ -665,6 +665,6 @@ Write(fd, bp, size)
void
usage()
{
- (void)syslog(LOG_ERR, "usage: savecore [-cfvz] [-N system] directory");
+ fprintf(stderr, "usage: savecore [-cfvz] [-N system] directory");
exit(1);
}