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
This commit is contained in:
sterlingjensen
2020-12-17 12:19:30 -06:00
committed by Brian Behlendorf
parent 489633d99a
commit 2ab24dfded
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -10062,7 +10062,7 @@ int
zpool_do_wait(int argc, char **argv)
{
boolean_t verbose = B_FALSE;
char c;
int c;
char *value;
int i;
unsigned long count;