FreeBSD Bugzilla – Attachment 186122 Details for
Bug 222050
iovctl help message contradicting itself
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
a patch to fix the incorrect output
iovctl.patch (text/plain), 667 bytes, created by
Heinz N. Gies
on 2017-09-06 17:44:25 UTC
(
hide
)
Description:
a patch to fix the incorrect output
Filename:
MIME Type:
Creator:
Heinz N. Gies
Created:
2017-09-06 17:44:25 UTC
Size:
667 bytes
patch
obsolete
>--- usr.sbin/iovctl/iovctl.c.orig 2017-09-06 12:53:35.000000000 +0200 >+++ usr.sbin/iovctl/iovctl.c 2017-09-06 12:57:33.000000000 +0200 >@@ -230,17 +230,21 @@ > usage(); > } > >- if (device == NULL && filename == NULL) { >+ if (device == NULL && filename == NULL && action != CONFIG) { > warnx("Either the -d or -f flag must be specified"); > usage(); > } > > switch (action) { > case CONFIG: >- if (filename == NULL) { >+ if (device != NULL) { > warnx("-d flag cannot be used with the -C flag"); > usage(); > } >+ if (filename == NULL) { >+ warnx("The -f flag must be specified"); >+ usage(); >+ } > config_action(filename, dryrun); > break; > case DELETE:
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 222050
: 186122