Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Dec 1999 19:03:27 +0900 (JST)
From:      takamune@avrl.mei.co.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/15456: Usage of ktrace(1) is invalid
Message-ID:  <199912131003.TAA01365@dream.vrl.mei.co.jp>

next in thread | raw e-mail | index | archive | help

>Number:         15456
>Category:       bin
>Synopsis:       Usage of ktrace(1) is invalid
>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:   Mon Dec 13 02:10:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Kazu TAKAMUNE
>Release:        FreeBSD 3.4-RC i386
>Organization:
Matsushita Electric Industrial Co., Ltd.
>Environment:

FreeBSD 3.4-RC(Mon Dec 13 13:26:38 JST 1999)
(4.0-CURRENT has the same problem)

>Description:

Usage of ktrace(1) is not equivalent to its manual page.

>How-To-Repeat:

% ktrace
usage: ktrace [-aCcid] [-f trfile] [-g pgid] [-p pid] [-t [cnisuv]
       ktrace [-aCcid] [-f trfile] [-t [cnisuw] command

% man 1 ktrace
SYNOPSIS
     ktrace [-aCcdi] [-f trfile] [-g pgrp] [-p pid] [-t trstr]
     ktrace [-adi] [-f trfile] [-t trstr] command

>Fix:
--- src/usr.bin/ktrace/ktrace.c.orig	Mon Aug 30 00:29:12 1999
+++ src/usr.bin/ktrace/ktrace.c	Mon Dec 13 19:00:00 1999
@@ -188,8 +188,8 @@
 usage()
 {
 	(void)fprintf(stderr, "%s\n%s\n",
-"usage: ktrace [-aCcid] [-f trfile] [-g pgid] [-p pid] [-t [cnisuv]",
-"       ktrace [-aCcid] [-f trfile] [-t [cnisuw] command");
+"usage: ktrace [-aCcid] [-f trfile] [-g pgid] [-p pid] [-t trstr]",
+"       ktrace [-adi] [-f trfile] [-t trstr] command");
 	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?199912131003.TAA01365>