diff options
author | Christos Zoulas <christos@zoulas.com> | 2017-02-11 18:12:03 +0000 |
---|---|---|
committer | Christos Zoulas <christos@zoulas.com> | 2017-02-11 18:12:03 +0000 |
commit | 78d24e35e77fa8b11d66d73b69c42685fd219a8e (patch) | |
tree | 13a7575eab9d5593fe42a3897299fcc36301a2a1 | |
parent | 8582888fbed7903eb41db4e1b4ad2ef7b70912fb (diff) | |
download | file-git-78d24e35e77fa8b11d66d73b69c42685fd219a8e.tar.gz |
fix debug info reversed logic
-rw-r--r-- | src/readelf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/readelf.c b/src/readelf.c index 8898bd02..f97752be 100644 --- a/src/readelf.c +++ b/src/readelf.c @@ -27,7 +27,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: readelf.c,v 1.131 2017/02/10 18:14:01 christos Exp $") +FILE_RCSID("@(#)$File: readelf.c,v 1.132 2017/02/11 18:12:03 christos Exp $") #endif #ifdef BUILTIN_ELF @@ -1185,7 +1185,7 @@ doshn(struct magic_set *ms, int clazz, int swap, int fd, off_t off, int num, { Elf32_Shdr sh32; Elf64_Shdr sh64; - int stripped = 1, has_debug_info = 1; + int stripped = 1, has_debug_info = 0; size_t nbadcap = 0; void *nbuf; off_t noff, coff, name_off; |