diff options
author | grant <grant@pkgsrc.org> | 2003-10-16 12:13:54 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-10-16 12:13:54 +0000 |
commit | 5bf3251757e3af88d8f55f9b84dda8719f5b3359 (patch) | |
tree | e23d69aa3c4ff57d47931878e138d0bd61e99624 /textproc | |
parent | a1299791d3a5a0f845938acc6cf749b226b8d76a (diff) | |
download | pkgsrc-5bf3251757e3af88d8f55f9b84dda8719f5b3359.tar.gz |
sync with -current:
call setprogname(), replace a 'sed' with getprogname().
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/nbsed/files/main.c | 8 |
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; |