From 61bde962bacf9babd656d354136efcbc92ac7473 Mon Sep 17 00:00:00 2001 From: Castor Fu Date: Thu, 29 Jan 2015 10:07:36 -0800 Subject: [PATCH] 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 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 6e1376f2..892335b9 100755 --- a/configure +++ b/configure @@ -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 -- 2.25.1