mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-23 17:31:43 +01:00
Fix usage message, the executable is optional.
PR: bin/29735 MFC after: 2 weeks
This commit is contained in:
parent
13e7108c06
commit
327a1d9ddb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81735
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user