diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libc/elf_aux_info/Makefile | 2 | ||||
| -rw-r--r-- | src/regress/lib/libc/elf_aux_info/elf_aux_info.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/regress/lib/libc/elf_aux_info/Makefile b/src/regress/lib/libc/elf_aux_info/Makefile index 2885fb1851..58dc58a830 100644 --- a/src/regress/lib/libc/elf_aux_info/Makefile +++ b/src/regress/lib/libc/elf_aux_info/Makefile | |||
| @@ -1,3 +1,5 @@ | |||
| 1 | PROG=elf_aux_info | 1 | PROG=elf_aux_info |
| 2 | 2 | ||
| 3 | WARNINGS=yes | ||
| 4 | |||
| 3 | .include <bsd.regress.mk> | 5 | .include <bsd.regress.mk> |
diff --git a/src/regress/lib/libc/elf_aux_info/elf_aux_info.c b/src/regress/lib/libc/elf_aux_info/elf_aux_info.c index 481085d6d9..14870e253c 100644 --- a/src/regress/lib/libc/elf_aux_info/elf_aux_info.c +++ b/src/regress/lib/libc/elf_aux_info/elf_aux_info.c | |||
| @@ -10,7 +10,6 @@ main(void) | |||
| 10 | int a; | 10 | int a; |
| 11 | unsigned long b; | 11 | unsigned long b; |
| 12 | 12 | ||
| 13 | |||
| 14 | /* Should always succeed */ | 13 | /* Should always succeed */ |
| 15 | if (elf_aux_info(AT_PAGESZ, &a, sizeof(a))) | 14 | if (elf_aux_info(AT_PAGESZ, &a, sizeof(a))) |
| 16 | ret |= 1; | 15 | ret |= 1; |
