summaryrefslogtreecommitdiffstats
path: root/usr.bin/gcore
diff options
context:
space:
mode:
authormikeh <mikeh@FreeBSD.org>2001-08-15 21:25:50 +0000
committermikeh <mikeh@FreeBSD.org>2001-08-15 21:25:50 +0000
commit3682fdb5a95737599e5991370e298b67840538d4 (patch)
treeaf1f7884aaba767930f251f392eeb285bbd5365e /usr.bin/gcore
parentb088bbf8635a9e31a5f025bf97ab3011a17fc453 (diff)
downloadFreeBSD-src-3682fdb5a95737599e5991370e298b67840538d4.zip
FreeBSD-src-3682fdb5a95737599e5991370e298b67840538d4.tar.gz
Fix usage message, the executable is optional.
PR: bin/29735 MFC after: 2 weeks
Diffstat (limited to 'usr.bin/gcore')
-rw-r--r--usr.bin/gcore/aoutcore.c2
-rw-r--r--usr.bin/gcore/gcore.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/gcore/aoutcore.c b/usr.bin/gcore/aoutcore.c
index 3eb5a19..c61bad8 100644
--- a/usr.bin/gcore/aoutcore.c
+++ b/usr.bin/gcore/aoutcore.c
@@ -333,6 +333,6 @@ userdump(fd, kp, addr, npage)
void
usage()
{
- (void)fprintf(stderr, "usage: gcore [-s] [-c core] executable pid\n");
+ (void)fprintf(stderr, "usage: gcore [-s] [-c core] [executable] pid\n");
exit(1);
}
diff --git a/usr.bin/gcore/gcore.c b/usr.bin/gcore/gcore.c
index 3eb5a19..c61bad8 100644
--- a/usr.bin/gcore/gcore.c
+++ b/usr.bin/gcore/gcore.c
@@ -333,6 +333,6 @@ userdump(fd, kp, addr, npage)
void
usage()
{
- (void)fprintf(stderr, "usage: gcore [-s] [-c core] executable pid\n");
+ (void)fprintf(stderr, "usage: gcore [-s] [-c core] [executable] pid\n");
exit(1);
}
OpenPOWER on IntegriCloud