summaryrefslogtreecommitdiff
path: root/textproc/nbsed
diff options
context:
space:
mode:
authorgrant <grant>2003-10-16 12:13:54 +0000
committergrant <grant>2003-10-16 12:13:54 +0000
commit107a321d42f721e039bd1189d4fb218d44d9e6a8 (patch)
treee23d69aa3c4ff57d47931878e138d0bd61e99624 /textproc/nbsed
parent8c8850f8a2a2b7145db1b9fd83023571e1f86ba9 (diff)
downloadpkgsrc-107a321d42f721e039bd1189d4fb218d44d9e6a8.tar.gz
sync with -current:
call setprogname(), replace a 'sed' with getprogname().
Diffstat (limited to 'textproc/nbsed')
-rw-r--r--textproc/nbsed/files/main.c8
1 files changed, 4 insertions, 4 deletions
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;