projects
/
file
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7af66e4
)
check the proper variable
author
Christos Zoulas
<christos@zoulas.com>
Tue, 9 Dec 2014 02:47:45 +0000
(
02:47
+0000)
committer
Christos Zoulas
<christos@zoulas.com>
Tue, 9 Dec 2014 02:47:45 +0000
(
02:47
+0000)
src/readelf.c
patch
|
blob
|
history
diff --git
a/src/readelf.c
b/src/readelf.c
index 8b55137eb784a54f97c53a0bb66a6363c1257392..08a2afb2aa0d40e2c68c50f6be69c4cb6cabb70f 100644
(file)
--- a/
src/readelf.c
+++ b/
src/readelf.c
@@
-27,7
+27,7
@@
#include "file.h"
#ifndef lint
-FILE_RCSID("@(#)$File: readelf.c,v 1.11
0 2014/12/09 02:47:07
christos Exp $")
+FILE_RCSID("@(#)$File: readelf.c,v 1.11
1 2014/12/09 02:47:45
christos Exp $")
#endif
#ifdef BUILTIN_ELF
@@
-1285,7
+1285,7
@@
file_tryelf(struct magic_set *ms, int fd, const unsigned char *buf,
file_badread(ms);
return -1;
}
- if (S_ISREG(st.st_mode) ||
f
size != 0)
+ if (S_ISREG(st.st_mode) ||
st.st_
size != 0)
fsize = st.st_size;
else
fsize = SIZE_UNKNOWN;