diff options
author | Castor Fu <castor@alumni.caltech.edu> | 2015-01-29 10:07:36 -0800 |
---|---|---|
committer | Mohamad Ayyash <mkayyash@google.com> | 2015-03-06 17:58:16 -0800 |
commit | 25d4dfe920e6fee3bf331acf729e73f1a7dadfc9 (patch) | |
tree | 9948b2287bc9ef45ecd15fbfc31ea24ce0f661d6 | |
parent | 5aab46d557261449d90ea24bbbc7547138a333ce (diff) | |
download | fio-25d4dfe920e6fee3bf331acf729e73f1a7dadfc9.tar.gz |
configure: fix libnuma_v2 probe to work with -Werror
I noticed that libnuma_v2 wasn't getting detected in our build
environment because we would get an error that mask was unused.
Signed-off-by: Jens Axboe <axboe@fb.com>
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -887,7 +887,7 @@ cat > $TMPC << EOF int main(int argc, char **argv) { struct bitmask *mask = numa_parse_nodestring(NULL); - return 0; + return mask->size == 0; } EOF if compile_prog "" "" "libnuma api"; then |