]> git.proxmox.com Git - mirror_zfs.git/commit
Use the correct return type for getopt
authorsterlingjensen <5555776+sterlingjensen@users.noreply.github.com>
Thu, 17 Dec 2020 18:19:30 +0000 (12:19 -0600)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 23 Dec 2020 22:34:59 +0000 (14:34 -0800)
commit2ab24dfded7f2932a41db36e76805a56b13341ba
tree6e6ceba2a68c37a8eb17ed7e933d93256ecaf861
parent489633d99aded88c9c2c107d7621d32f697ac266
Use the correct return type for getopt

Use the correct return type for getopt otherwise clang complains
about tautological-constant-out-of-range-compare.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Sterling Jensen <sterlingjensen@users.noreply.github.com>
Closes #11359
cmd/zfs/zfs_main.c
cmd/zfs_ids_to_path/zfs_ids_to_path.c
cmd/zpool/zpool_main.c
cmd/zstream/zstream_redup.c
tests/zfs-tests/cmd/btree_test/btree_test.c