From c1c98d3cfd42600e1bb3746b6ed090ab12bb4559 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Tue, 1 Jan 2019 14:59:19 -0500 Subject: [PATCH] lib/roken: is_special_auxv_p test for AT_HWCAP2 fix breakage introduced by 63411321753e1ee959fd1e69ba5986d2438f1b39 ("roken: fix build breakage, AT_HWCAP2 may be undefined (#446)"). Detected by Coverity. Change-Id: Iefdb73d4392e5184a69a99208945ece6b7b8ecb3 --- lib/roken/test-auxval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/roken/test-auxval.c b/lib/roken/test-auxval.c index 6dbd3e7cc..69ab35992 100644 --- a/lib/roken/test-auxval.c +++ b/lib/roken/test-auxval.c @@ -129,7 +129,7 @@ is_special_auxv_p(long type) return 1; #endif #ifdef AT_HWCAP2 - if (type == AT_HWCAP) + if (type == AT_HWCAP2) return 1; #endif