From phj@cn.FreeBSD.org  Wed Mar  1 22:23:23 2000
Return-Path: <phj@cn.FreeBSD.org>
Received: from cn.FreeBSD.org (cn.freebsd.org [202.103.100.254])
	by hub.freebsd.org (Postfix) with ESMTP id 0294D37BD97
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  1 Mar 2000 22:23:19 -0800 (PST)
	(envelope-from phj@cn.FreeBSD.org)
Received: (from phj@localhost)
	by cn.FreeBSD.org (8.9.3/8.9.2) id OAA83116;
	Thu, 2 Mar 2000 14:23:17 +0800 (CST)
	(envelope-from phj)
Message-Id: <200003020623.OAA83116@cn.FreeBSD.org>
Date: Thu, 2 Mar 2000 14:23:17 +0800 (CST)
From: Peng HaiJie <phj@cn.FreeBSD.org>
Reply-To: phj@cn.FreeBSD.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: Not display argv[0] correctly 
X-Send-Pr-Version: 3.2

>Number:         17121
>Category:       bin
>Synopsis:       [PATCH] src/tools/diag/httpd-error/httpd-error command would not print command name correctly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wosch
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar  1 22:30:01 PST 2000
>Closed-Date:    Thu Mar 2 07:11:05 PST 2000
>Last-Modified:  Thu Mar  2 07:14:52 PST 2000
>Originator:     Peng HaiJie
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
cn.FreeBSD.org
>Environment:

	

>Description:

	would not display command name correctly if not use parameters
>How-To-Repeat:

	

>Fix:
	
Index: httpd-error
===================================================================
RCS file: /home/ncvs/src/tools/diag/httpd-error/httpd-error,v
retrieving revision 1.3
diff -r1.3 httpd-error
57c57
<     *) echo 'usage $0 {-host|-filehits|-user|-userhits} < error.log' >&2
---
>     *) echo "usage $0 {-host|-filehits|-user|-userhits} < error.log" >&2


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->wosch 
Responsible-Changed-By: ru 
Responsible-Changed-When: Thu Mar 2 00:11:14 PST 2000 
Responsible-Changed-Why:  
Over to the author. 
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Thu Mar 2 07:11:05 PST 2000 
State-Changed-Why:  
Oops, I didn't even look at the Responsible field.  Sorry, Wolfram. 
Anyway, it's committed and MFC'd. 

Thanks for the submission, Peng. 
>Unformatted:
