Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/rpc.statd Tweak the usage output a bit, and exit af...
details: https://anonhg.NetBSD.org/src/rev/492b4d214f61
branches: trunk
changeset: 473630:492b4d214f61
user: scottr <scottr%NetBSD.org@localhost>
date: Thu Jun 10 05:53:51 1999 +0000
description:
Tweak the usage output a bit, and exit after printing it.
diffstat:
usr.sbin/rpc.statd/statd.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r c33f49950b66 -r 492b4d214f61 usr.sbin/rpc.statd/statd.c
--- a/usr.sbin/rpc.statd/statd.c Thu Jun 10 04:31:20 1999 +0000
+++ b/usr.sbin/rpc.statd/statd.c Thu Jun 10 05:53:51 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: statd.c,v 1.13 1999/06/06 02:52:16 thorpej Exp $ */
+/* $NetBSD: statd.c,v 1.14 1999/06/10 05:53:51 scottr Exp $ */
/*
* Copyright (c) 1997 Christos Zoulas. All rights reserved.
@@ -37,7 +37,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: statd.c,v 1.13 1999/06/06 02:52:16 thorpej Exp $");
+__RCSID("$NetBSD: statd.c,v 1.14 1999/06/10 05:53:51 scottr Exp $");
#endif
/* main() function for status monitor daemon. Some of the code in this */
@@ -106,7 +106,8 @@
break;
default:
case '?':
- (void) fprintf(stderr, "Usage: %s [-d]", __progname);
+ (void)fprintf(stderr, "usage: %s [-d]\n", __progname);
+ exit(1);
/* NOTREACHED */
}
}
Home |
Main Index |
Thread Index |
Old Index