diff options
author | Philippe Charnier <charnier@FreeBSD.org> | 1997-06-30 11:10:18 +0000 |
---|---|---|
committer | Philippe Charnier <charnier@FreeBSD.org> | 1997-06-30 11:10:18 +0000 |
commit | 41e964cb5d2714801feba65ac1acf341e56e78e6 (patch) | |
tree | c0e3841c3177a6c7caf556ba6939e0cd1c0d6944 /sbin/reboot | |
parent | a2f62324368d2c3e9b3144b41ed4a4339e4511a1 (diff) | |
download | src-test2-41e964cb5d2714801feba65ac1acf341e56e78e6.tar.gz src-test2-41e964cb5d2714801feba65ac1acf341e56e78e6.zip |
Notes
Diffstat (limited to 'sbin/reboot')
-rw-r--r-- | sbin/reboot/reboot.c | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/sbin/reboot/reboot.c b/sbin/reboot/reboot.c index 9ed2642638ea..6fb6a012d3c6 100644 --- a/sbin/reboot/reboot.c +++ b/sbin/reboot/reboot.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: reboot.c,v 1.5 1997/06/16 06:43:13 charnier Exp $ */ #ifndef lint @@ -181,34 +181,3 @@ usage() (void)fprintf(stderr, "usage: %s [-nq]\n", dohalt ? "halt" : "reboot"); exit(1); } - -#ifdef 0 -#if __STDC__ -#include <stdarg.h> -#else -#include <varargs.h> -#endif - -void -#if __STDC__ -err(const char *fmt, ...) -#else -err(fmt, va_alist) - char *fmt; - va_dcl -#endif -{ - va_list ap; -#if __STDC__ - va_start(ap, fmt); -#else - va_start(ap); -#endif - (void)fprintf(stderr, "%s: ", dohalt ? "halt" : "reboot"); - (void)vfprintf(stderr, fmt, ap); - va_end(ap); - (void)fprintf(stderr, "\n"); - exit(1); - /* NOTREACHED */ -} -#endif |