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
commitc324ffb80dd144aac256e608fc9f4437f18cf43d (patch)
treee23d69aa3c4ff57d47931878e138d0bd61e99624 /textproc/nbsed
parentbed61060efe991573aa80ba7e86557969d26e984 (diff)
downloadpkgsrc-c324ffb80dd144aac256e608fc9f4437f18cf43d.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;