From owner-freebsd-bugs Wed Aug 15 14: 0:50 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3852537B418 for ; Wed, 15 Aug 2001 14:00:41 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7FL0fq89491; Wed, 15 Aug 2001 14:00:41 -0700 (PDT) (envelope-from gnats) Received: from shrewd.lan.knigma.org (shrewd.demon.co.uk [212.229.151.45]) by hub.freebsd.org (Postfix) with ESMTP id 2C7AC37B40F for ; Wed, 15 Aug 2001 13:58:02 -0700 (PDT) (envelope-from mkn@shrewd.lan.knigma.org) Received: (from mkn@localhost) by shrewd.lan.knigma.org (8.11.5/8.11.5) id f7FKw0I03927; Wed, 15 Aug 2001 21:58:00 +0100 (BST) (envelope-from mkn) Message-Id: <200108152058.f7FKw0I03927@shrewd.lan.knigma.org> Date: Wed, 15 Aug 2001 21:58:00 +0100 (BST) From: Mark Knight Reply-To: Mark Knight To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/29735: gcore usage message is wrong Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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