[compiler-rt] r350110 - Fix a mistake in previous
Kamil Rytarowski via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 27 16:17:37 PST 2018
Author: kamil
Date: Thu Dec 27 16:17:37 2018
New Revision: 350110
URL: http://llvm.org/viewvc/llvm-project?rev=350110&view=rev
Log:
Fix a mistake in previous
Assign correct ioctl(2) operation number.
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc?rev=350110&r1=350109&r2=350110&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc Thu Dec 27 16:17:37 2018
@@ -1426,7 +1426,7 @@ unsigned IOCTL_SPKRTUNE = SPKRTUNE;
unsigned IOCTL_SPKRGETVOL = SPKRGETVOL;
unsigned IOCTL_SPKRSETVOL = SPKRSETVOL;
#if 0 /* interfaces are WIP */
-unsigned IOCTL_NVMM_IOC_CAPABILITY = IOCTL_NVMM_IOC_CAPABILITY;
+unsigned IOCTL_NVMM_IOC_CAPABILITY = NVMM_IOC_CAPABILITY;
unsigned IOCTL_NVMM_IOC_MACHINE_CREATE = NVMM_IOC_MACHINE_CREATE;
unsigned IOCTL_NVMM_IOC_MACHINE_DESTROY = NVMM_IOC_MACHINE_DESTROY;
unsigned IOCTL_NVMM_IOC_MACHINE_CONFIGURE = NVMM_IOC_MACHINE_CONFIGURE;
@@ -1946,7 +1946,7 @@ unsigned IOCTL_SIOCGLINKSTR = SIOCGLINKS
unsigned IOCTL_SIOCSLINKSTR = SIOCSLINKSTR;
unsigned IOCTL_SIOCGETHERCAP = SIOCGETHERCAP;
unsigned IOCTL_SIOCGIFINDEX = SIOCGIFINDEX;
-unsigned IOCTL_SIOCSETHERCAP = SIOCGIFINDEX;
+unsigned IOCTL_SIOCSETHERCAP = SIOCSETHERCAP;
unsigned IOCTL_SIOCGUMBINFO = SIOCGUMBINFO;
unsigned IOCTL_SIOCSUMBPARAM = SIOCSUMBPARAM;
unsigned IOCTL_SIOCGUMBPARAM = SIOCGUMBPARAM;
More information about the llvm-commits
mailing list