summaryrefslogtreecommitdiffstats
path: root/module/zfs/vdev_label.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2016-08-30 18:56:36 -0700
committerBrian Behlendorf <[email protected]>2016-08-31 14:32:46 -0700
commit9d69e9b268a1a0af3117871608fd3a87db1ce586 (patch)
tree67d43a30782de28e802b965291ce1800238abba4 /module/zfs/vdev_label.c
parent3f10fe07d645166d7513448feedd8e3ef3111a12 (diff)
Fix zhack argument processing
The argument processing is zhack makes the assumption that getopt() will not permute argv. This isn't true for the GNU implementation of getopt() unless the optstring is prefixed with a '+'. In which case this is equivalent to setting the POSIXLY_CORRECT environment variable In addition, update the usage() and optstrings to reflect the existing supported options. Signed-off-by: Brian Behlendorf <[email protected]> Signed-off-by: liaoyuxiangqin <[email protected]> Closes #5047
Diffstat (limited to 'module/zfs/vdev_label.c')
0 files changed, 0 insertions, 0 deletions