summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_util.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2008-06-02 04:50:47 +0000
committerimp <imp@FreeBSD.org>2008-06-02 04:50:47 +0000
commitb3629efe71087e0465b3d28273f1949b8f4a0088 (patch)
tree3fb1b79e059fbed23c182fb296cb08456ea43bfb /sys/compat/linux/linux_util.c
parent2d5df8d9da5e7ef8697fd6a0fa2f2f9a8148145d (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud