Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2002 13:11:14 +0200 (CEST)
From:      Morten Rodal <morten@rodal.no>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        dirk@FreeBSD.org
Subject:   ports/41155: [PATCH] mkisofs susage()
Message-ID:  <200207301111.g6UBBEHl015273@slurp.rodal.no>

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

>Number:         41155
>Category:       ports
>Synopsis:       [PATCH] mkisofs susage()
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 30 04:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Morten Rodal
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD slurp.rodal.no 4.6-STABLE FreeBSD 4.6-STABLE #18: Thu Jul 25 10:39:41 CEST 2002 root@slurp.rodal.no:/usr/obj/usr/src/sys/slurp i386


>Description:
mkisofs got a missing argument in a printf() in the suage() function.

[slurp] ~> mkisofs
mkisofs: Missing pathspec.
Usage: mkisofs [options] file...

Use œû¿¿Ä -help
to get a list of valid options.


>How-To-Repeat:
Type mkisofs and see the word between Use and -help.

>Fix:
--- mkisofs/mkisofs.c.orig	Tue Jul 30 12:58:34 2002
+++ mkisofs/mkisofs.c	Tue Jul 30 12:58:50 2002
@@ -877,7 +877,7 @@
 	const char	*program_name = "mkisofs";
 
 	fprintf(stderr, "Usage: %s [options] file...\n", program_name);
-	fprintf(stderr, "\nUse %s -help\n");
+	fprintf(stderr, "\nUse %s -help\n", program_name);
 	fprintf(stderr, "to get a list of valid options.\n");
 
 	exit(excode);
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207301111.g6UBBEHl015273>