freebsd-dev/cmd/zhack
Nathaniel Wesley Filardo 8b20a9f996 zhack: fix getopt return type
This fixes zhack's command processing on ARM.  On ARM char
is unsigned, and so, in promotion to an int, it will never
compare equal to -1.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Nathaniel Wesley Filardo <nwf@cs.jhu.edu>
Closes #7016
2018-01-09 11:14:45 -08:00
..
.gitignore Illumos #2619 and #2747 2013-01-08 10:35:35 -08:00
Makefile.am Add libtpool (thread pools) 2017-08-09 15:31:08 -07:00
zhack.c zhack: fix getopt return type 2018-01-09 11:14:45 -08:00