Date: Wed, 15 Aug 2001 21:58:00 +0100 (BST) From: Mark Knight <markk@knigma.org> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/29735: gcore usage message is wrong Message-ID: <200108152058.f7FKw0I03927@shrewd.lan.knigma.org>
next in thread | raw e-mail | index | archive | help
>Number: 29735
>Category: bin
>Synopsis: gcore usage message is wrong
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 15 14:00:39 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Mark Knight
>Release: FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
>Description:
gcore usage message is wrong, the executible file is optional.
>How-To-Repeat:
>Fix:
diff -u -r1.20 gcore.c
--- gcore.c 3 May 2001 00:35:53 -0000 1.20
+++ gcore.c 15 Aug 2001 20:42:54 -0000
@@ -333,6 +333,6 @@
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);
}
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108152058.f7FKw0I03927>
