summaryrefslogtreecommitdiffstats
path: root/sys/compat/linuxkpi/common/src/linux_compat.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2016-05-25 08:45:03 +0000
committered <ed@FreeBSD.org>2016-05-25 08:45:03 +0000
commitf826cc44bc0cc847c927d80b226ac8acb72a47b8 (patch)
tree2ef16d96bd15b21c9c26cf342f4afc6c665c6499 /sys/compat/linuxkpi/common/src/linux_compat.c
parent351a56086c0253e1f3de85d4a37f5c9419ec7400 (diff)
downloadFreeBSD-src-f826cc44bc0cc847c927d80b226ac8acb72a47b8.zip
FreeBSD-src-f826cc44bc0cc847c927d80b226ac8acb72a47b8.tar.gz
Make code compile when basename() is POSIX compliant.
The POSIX basename() function is allowed to modify its input buffer, which means its argument is "char *". Pull a copy of the input string before computing the base. Reviewed by: jtl Differential Revision: https://reviews.freebsd.org/D6465
Diffstat (limited to 'sys/compat/linuxkpi/common/src/linux_compat.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud