summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 3eb5a195bf2b..c61bad8af8d3 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 3eb5a195bf2b..c61bad8af8d3 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);
}