aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-02-25 00:09:12 +0000
committerWarner Losh <imp@FreeBSD.org>2017-02-25 00:09:12 +0000
commite71bab696feafed19360e4e00728a59bfb11c875 (patch)
treed1bcf04723e63796d393cdff8e735919cc04e715 /usr.sbin
parent56e101b3375b40234c6f26a7a8d75ddfca32a19a (diff)
downloadsrc-e71bab696feafed19360e4e00728a59bfb11c875.tar.gz
src-e71bab696feafed19360e4e00728a59bfb11c875.zip
Exit with usage if argv[1] is NULL in dispatch. This fixes core dumps
when a command has subcommands, but the user doesn't give the parameters on the command line. Sponsored by: Netflix
Notes
Notes: svn path=/head/; revision=314229
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions