Module Name: src
Committed By: mbalmer
Date: Fri Jun 26 21:55:28 UTC 2009
Modified Files:
src/usr.sbin/wake: wake.c
Log Message:
- No need to include paths.h twice (christos, you oversaw that paths.h
was already included)
- use "usage", not "Usage", like other tools
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/wake/wake.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/wake/wake.c
diff -u src/usr.sbin/wake/wake.c:1.5 src/usr.sbin/wake/wake.c:1.6
--- src/usr.sbin/wake/wake.c:1.5 Fri Jun 26 17:38:32 2009
+++ src/usr.sbin/wake/wake.c Fri Jun 26 21:55:28 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: wake.c,v 1.5 2009/06/26 17:38:32 christos Exp $ */
+/* $NetBSD: wake.c,v 1.6 2009/06/26 21:55:28 mbalmer Exp $ */
/*
* Copyright (C) 2006, 2007, 2008, 2009 Marc Balmer <[email protected]>
@@ -49,7 +49,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <paths.h>
#include <sysexits.h>
#include <unistd.h>
@@ -70,7 +69,7 @@
static void
usage(void)
{
- (void)fprintf(stderr, "Usage: %s interface lladdr\n", getprogname());
+ (void)fprintf(stderr, "usage: %s interface lladdr\n", getprogname());
exit(0);
}