about summary refs log tree commit diff
path: root/elf/tst-tunables-enable_secure-env.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-tunables-enable_secure-env.c')
-rw-r--r--elf/tst-tunables-enable_secure-env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/tst-tunables-enable_secure-env.c b/elf/tst-tunables-enable_secure-env.c
index 01f121efc3..937259f218 100644
--- a/elf/tst-tunables-enable_secure-env.c
+++ b/elf/tst-tunables-enable_secure-env.c
@@ -46,7 +46,7 @@ check_auxv (unsigned long type, char *argv)
 {
   char *endptr;
   errno = 0;
-  unsigned long int varg = strtol (argv, &endptr, 10);
+  unsigned long int varg = strtoul (argv, &endptr, 10);
   TEST_VERIFY_EXIT (errno == 0);
   TEST_VERIFY_EXIT (*endptr == '\0');
   errno = 0;