projects
/
platform
/
upstream
/
elfutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 0.165
[platform/upstream/elfutils.git]
/
tests
/
dwarf-getstring.c
diff --git
a/tests/dwarf-getstring.c
b/tests/dwarf-getstring.c
index
b70c2a7
..
ffa3e37
100644
(file)
--- a/
tests/dwarf-getstring.c
+++ b/
tests/dwarf-getstring.c
@@
-37,7
+37,7
@@
main (int argc, char *argv[])
Dwarf_Off offset = 0;
size_t len;
- int fd = open
64
(argv[cnt], O_RDONLY);
+ int fd = open (argv[cnt], O_RDONLY);
if (fd == -1)
{
printf ("cannot open '%s': %m\n", argv[cnt]);
@@
-70,6
+70,7
@@
main (int argc, char *argv[])
offset += len + 1;
}
+ dwarf_end (dbg);
close (fd);
}