summaryrefslogtreecommitdiffstats
path: root/tests/elfshphehdr.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2017-08-03 12:37:37 +0200
committerMark Wielaard <[email protected]>2017-08-03 14:21:08 +0200
commit766df1e15c1e8f8bc9890e7538eb2ef15a6516dc (patch)
tree45ae9d0ac821a15fbb9336909671e18efc15f6e8 /tests/elfshphehdr.c
parent13c3e00ba629586ae42c316ae4ed6c3f04282a82 (diff)
parent54ba4ce2973113d8f4315d4fc90e16a9b4476ea6 (diff)
Merge tag 'elfutils-0.170' into mjw/RH-DTSdts-0.170
elfutils 0.170 release Conflicts: libcpu/Makefile.am libdw/Makefile.am tests/Makefile.am
Diffstat (limited to 'tests/elfshphehdr.c')
-rw-r--r--tests/elfshphehdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/elfshphehdr.c b/tests/elfshphehdr.c
index 5a297e0d..8183937c 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 = open("/dev/null", O_WRONLY);
check ("open", fd >= 0);
Elf *elf;