HomeFreeBSD

Use the correct return type for getopt

Description

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

Details

Provenance
sterlingjensen <5555776+sterlingjensen@users.noreply.github.com>Authored on Dec 17 2020, 6:19 PM
GitHub <noreply@github.com>Committed on Dec 17 2020, 6:19 PM
Parents
rGbe5c6d96530e: Only examine best metaslabs on each vdev
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGfb188409f1b6: Use the correct return type for getopt (authored by sterlingjensen <5555776+sterlingjensen@users.noreply.github.com>).Dec 17 2020, 6:19 PM