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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user