FreeBSD Bugzilla – Attachment 22297 Details for
Bug 38727
[patch] mptable(1) should complain about garbage arguments
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mptable.c.diff
mptable.c.diff (text/plain; charset=us-ascii), 690 bytes, created by
Alexander Best
on 2010-11-18 23:53:39 UTC
(
hide
)
Description:
mptable.c.diff
Filename:
MIME Type:
Creator:
Alexander Best
Created:
2010-11-18 23:53:39 UTC
Size:
690 bytes
patch
obsolete
>diff --git a/usr.sbin/mptable/mptable.c b/usr.sbin/mptable/mptable.c >index a16a1b9..b461e61 100644 >--- a/usr.sbin/mptable/mptable.c >+++ b/usr.sbin/mptable/mptable.c >@@ -322,20 +322,21 @@ main( int argc, char *argv[] ) > if ( strcmp( optarg, "mesg") == 0 ) > dmesg = 1; > else >- dmesg = 0; >- break; >- case 'h': >- if ( strcmp( optarg, "elp") == 0 ) >- usage(); >+ usage(); > break; > case 'g': > if ( strcmp( optarg, "rope") == 0 ) > grope = 1; >+ else >+ usage(); > break; > case 'v': > if ( strcmp( optarg, "erbose") == 0 ) > verbose = 1; >+ else >+ usage(); > break; >+ case 'h': > default: > usage(); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 38727
:
22296
| 22297