summaryrefslogtreecommitdiff
path: root/bin/hostname
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>1997-06-04 06:27:30 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>1997-06-04 06:27:30 +0000
commite8abeed5811d04821733181f5cb64c57498ca1d0 (patch)
treeff2b05c0c6b1d117643bb42198800108c8eba73b /bin/hostname
parentfaa4958c39672b7fadf932720d5a269147357354 (diff)
downloadsrc-test2-e8abeed5811d04821733181f5cb64c57498ca1d0.tar.gz
src-test2-e8abeed5811d04821733181f5cb64c57498ca1d0.zip
Notes
Diffstat (limited to 'bin/hostname')
-rw-r--r--bin/hostname/hostname.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/hostname/hostname.c b/bin/hostname/hostname.c
index 48ad16dc87ee..98cea7d6d846 100644
--- a/bin/hostname/hostname.c
+++ b/bin/hostname/hostname.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: hostname.c,v 1.6 1997/03/28 15:24:20 imp Exp $
+ * $Id: hostname.c,v 1.7 1997/06/03 06:21:45 charnier Exp $
*/
#ifndef lint
@@ -51,8 +51,6 @@ static char const sccsid[] = "@(#)hostname.c 8.1 (Berkeley) 5/31/93";
#include <string.h>
#include <unistd.h>
-extern char *__progname;
-
void usage __P((void));
int
@@ -96,6 +94,6 @@ void
usage()
{
- (void)fprintf(stderr, "usage: %s [-s] [name-of-host]\n", __progname);
+ (void)fprintf(stderr, "usage: hostname [-s] [name-of-host]\n");
exit(1);
}