summaryrefslogtreecommitdiffstats
path: root/src/findtextrel.c
diff options
context:
space:
mode:
authorJan Kratochvil <[email protected]>2013-07-19 23:51:30 +0200
committerJan Kratochvil <[email protected]>2013-07-19 23:51:30 +0200
commit71052762b42f01cd8efe4842c5f68068c9313322 (patch)
treef53c175873a53ae10630b109d69c30bf586be5fd /src/findtextrel.c
parentf439a06ac16e5bfea0fbb6f924c296966b16be0a (diff)
parent934d36cb5fec8156fab96bcdf3939a20ff7d473f (diff)
Merge branch 'master' into portable
Conflicts: src/readelf.c
Diffstat (limited to 'src/findtextrel.c')
-rw-r--r--src/findtextrel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/findtextrel.c b/src/findtextrel.c
index 771ef3fa..9913b82c 100644
--- a/src/findtextrel.c
+++ b/src/findtextrel.c
@@ -311,7 +311,7 @@ process_file (const char *fname, bool more_than_one)
if (!have_textrel)
{
error (0, 0, gettext ("no text relocations reported in '%s'"), fname);
- return 1;
+ goto err_elf_close;
}
int fd2 = -1;