From 8f3a4f49b169ae137ed099750339e9bfce8a24af Mon Sep 17 00:00:00 2001 From: charnier Date: Wed, 4 Jun 1997 06:27:30 +0000 Subject: Revert part of previous patch: Don't use __progname. --- bin/hostname/hostname.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'bin/hostname') diff --git a/bin/hostname/hostname.c b/bin/hostname/hostname.c index 48ad16d..98cea7d 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 #include -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); } -- cgit v1.1