lib/roken: is_special_auxv_p test for AT_HWCAP2

fix breakage introduced by 6341132175
("roken: fix build breakage, AT_HWCAP2 may be undefined (#446)").
Detected by Coverity.

Change-Id: Iefdb73d4392e5184a69a99208945ece6b7b8ecb3
This commit is contained in:
Jeffrey Altman
2019-01-01 14:59:19 -05:00
parent 7098aa038b
commit c1c98d3cfd

View File

@@ -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