]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix incorrect error message in iovctl
authorrstone <rstone@FreeBSD.org>
Tue, 12 Sep 2017 21:12:04 +0000 (21:12 +0000)
committerrstone <rstone@FreeBSD.org>
Tue, 12 Sep 2017 21:12:04 +0000 (21:12 +0000)
commit5841bd20350ad22f7426199d3ae54e0a812a3cfe
tree51fa9980565ca1b45ce73ddf1e973f0ba46664b0
parent7af7d26d49426427f8e116fec60ecec231d8d81e
Fix incorrect error message in iovctl

If the iovctl command was invoked with only the -C flag, the user would
receive a message claiming that they needed to also supply either the
-d flag or the -f flag.  However, in the case of the -C mode, only the
-f flag is acceptable.  Correct this error message in this case.

PR: 222050
Submitted by: Heinz N. Gies
Reported by: Heinz N. Gies
MFC after: 1 week
usr.sbin/iovctl/iovctl.c