This commit is contained in:
wiz 2013-07-19 11:19:23 +00:00
parent 39da3b933c
commit 29c72c8d8a
2 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: hostname.1,v 1.18 2013/07/19 10:34:51 roy Exp $
.\" $NetBSD: hostname.1,v 1.19 2013/07/19 11:19:23 wiz Exp $
.\"
.\" Copyright (c) 1983, 1988, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@ -37,7 +37,7 @@
.Nd set or print name of current host system
.Sh SYNOPSIS
.Nm
.Op Fl AadIifs
.Op Fl AadfIis
.Op Ar name-of-host
.Sh DESCRIPTION
.Nm
@ -74,11 +74,11 @@ the other options will retrieve their results from the resolver.
.Sh SEE ALSO
.Xr domainname 1 ,
.Xr getaddrinfo 3 ,
.Xr gethostname 3 ,
.Xr sethostname 3 ,
.Xr gethostbyname 3 ,
.Xr gethostname 3 ,
.Xr getifaddrs 3 ,
.Xr getnameinfo 3 ,
.Xr sethostname 3 ,
.Xr hosts 5
.Sh HISTORY
The

View File

@ -1,4 +1,4 @@
/* $NetBSD: hostname.c,v 1.18 2013/07/19 10:34:51 roy Exp $ */
/* $NetBSD: hostname.c,v 1.19 2013/07/19 11:19:23 wiz Exp $ */
/*
* Copyright (c) 1988, 1993
@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1993\
#if 0
static char sccsid[] = "@(#)hostname.c 8.2 (Berkeley) 4/28/95";
#else
__RCSID("$NetBSD: hostname.c,v 1.18 2013/07/19 10:34:51 roy Exp $");
__RCSID("$NetBSD: hostname.c,v 1.19 2013/07/19 11:19:23 wiz Exp $");
#endif
#endif /* not lint */
@ -199,7 +199,7 @@ main(int argc, char *argv[])
static void
usage(void)
{
(void)fprintf(stderr, "usage: %s [-AadIifs] [name-of-host]\n",
(void)fprintf(stderr, "usage: %s [-AadfIis] [name-of-host]\n",
getprogname());
exit(1);
/* NOTREACHED */