From c324ffb80dd144aac256e608fc9f4437f18cf43d Mon Sep 17 00:00:00 2001 From: grant Date: Thu, 16 Oct 2003 12:13:54 +0000 Subject: sync with -current: call setprogname(), replace a 'sed' with getprogname(). --- textproc/nbsed/files/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'textproc/nbsed') diff --git a/textproc/nbsed/files/main.c b/textproc/nbsed/files/main.c index 5630b91c626..d1cf67e56af 100644 --- a/textproc/nbsed/files/main.c +++ b/textproc/nbsed/files/main.c @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.1.1.1 2003/08/18 17:34:59 agc Exp $ */ +/* $NetBSD: main.c,v 1.2 2003/10/16 12:13:54 grant Exp $ */ /*- * Copyright (c) 1992 Diomidis Spinellis. @@ -52,7 +52,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 1993\n\ #if 0 static char sccsid[] = "@(#)main.c 8.2 (Berkeley) 1/3/94"; #else -__RCSID("$NetBSD: main.c,v 1.1.1.1 2003/08/18 17:34:59 agc Exp $"); +__RCSID("$NetBSD: main.c,v 1.2 2003/10/16 12:13:54 grant Exp $"); #endif #endif /* not lint */ @@ -160,8 +160,8 @@ main(int argc, char *argv[]) default: case '?': (void)fprintf(stderr, -"usage:\t%s script [-anE] [file ...]\n\tsed [-an] [-e script] ... [-f script_file] ... [file ...]\n", - getprogname()); +"usage:\t%s script [-anE] [file ...]\n\t%s [-an] [-e script] ... [-f script_file] ... [file ...]\n", + getprogname(), getprogname()); exit(1); } argc -= optind; -- cgit v1.2.3