diff options
author | imp <imp@FreeBSD.org> | 2008-06-02 04:50:47 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2008-06-02 04:50:47 +0000 |
commit | b3629efe71087e0465b3d28273f1949b8f4a0088 (patch) | |
tree | 3fb1b79e059fbed23c182fb296cb08456ea43bfb /sys/compat/linux/linux_util.c | |
parent | 2d5df8d9da5e7ef8697fd6a0fa2f2f9a8148145d (diff) | |
download | FreeBSD-src-b3629efe71087e0465b3d28273f1949b8f4a0088.zip FreeBSD-src-b3629efe71087e0465b3d28273f1949b8f4a0088.tar.gz |
getopt returns an int, not a char. Make sure that we store the
variable in an int to avoid casting to an unsigned value which causes
the comparison with -1 to fail.
PR: 123807
Submitted by: Matthew Luckie
Reviewed by: keramida@
MFC after: 1 week
Diffstat (limited to 'sys/compat/linux/linux_util.c')
0 files changed, 0 insertions, 0 deletions