diff options
author | Cristian RodrÃguez | 2015-05-30 20:51:41 +0200 |
---|---|---|
committer | Karel Zak | 2015-06-02 11:58:53 +0200 |
commit | a680b2abe725f4d52403652688a94490f2023752 (patch) | |
tree | 5e1cc0f63db52dbca1c58c20f628b6e204ddd6b3 /sys-utils/lscpu.c | |
parent | lsblk.8: Fix description of output format (diff) | |
download | kernel-qcow2-util-linux-a680b2abe725f4d52403652688a94490f2023752.tar.gz kernel-qcow2-util-linux-a680b2abe725f4d52403652688a94490f2023752.tar.xz kernel-qcow2-util-linux-a680b2abe725f4d52403652688a94490f2023752.zip |
sys-utils: lscpu segfaults when built with -fsanitize=address
This is expected and a false positive, exclude the vmware detection
trick when __SANITIZE_ADDRESS__ is defined.
Diffstat (limited to 'sys-utils/lscpu.c')
-rw-r--r-- | sys-utils/lscpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c index b36d1daa7..f695a320d 100644 --- a/sys-utils/lscpu.c +++ b/sys-utils/lscpu.c @@ -34,7 +34,7 @@ #include <sys/types.h> #include <sys/stat.h> -#if defined(__x86_64__) || defined(__i386__) +#if (defined(__x86_64__) || defined(__i386__)) && !defined(__SANITIZE_ADDRESS__) # define INCLUDE_VMWARE_BDOOR #endif |