roken: fix rk_getauxval missing stack variable
if defined(HAVE_GETAUXVAL) && !defined(GETAUXVAL_SETS_ERRNO) the stack variable declaration for 'a' is missing: const auxv_t *a Declare 'a' so that Heimdal can build again. Change-Id: If64dd497f240688b76f3dd6139ac68c2ff149a0e
This commit is contained in:
@@ -182,8 +182,11 @@ rk_getauxval(unsigned long type)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (getauxval_sets_errno == 0) {
|
if (getauxval_sets_errno == 0) {
|
||||||
|
const auxv_t *a;
|
||||||
|
|
||||||
errno = save_errno;
|
errno = save_errno;
|
||||||
if ((a = rk_getauxv(type)) == NULL) {
|
a = rk_getauxv(type);
|
||||||
|
if (a == NULL) {
|
||||||
errno = ENOENT;
|
errno = ENOENT;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user