diff options
Diffstat (limited to 'tests/elfshphehdr.c')
| -rw-r--r-- | tests/elfshphehdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/elfshphehdr.c b/tests/elfshphehdr.c index 5a297e0d..e0f0712f 100644 --- a/tests/elfshphehdr.c +++ b/tests/elfshphehdr.c @@ -152,7 +152,7 @@ main (int argc __attribute__ ((unused)), char **argv __attribute ((unused))) { elf_version (EV_CURRENT); - int fd = fd = open("/dev/zero", O_WRONLY); + int fd = fd = open("/dev/null", O_WRONLY | O_BINARY); check ("open", fd >= 0); Elf *elf; |
