summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2004-09-28 08:55:06 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2004-09-28 08:55:06 +0000
commit7a2c357151e82fe59ca396c81c5f28efecc0094a (patch)
tree44fcba1acc45df2adfaf50931354d9ae81e14fc4 /utils
parentdbe235e5d85a9e1ea5d987a8fb0f2f15e0f03c65 (diff)
Oops, typo.
Thanks to Peter Kjellerstedt.
Diffstat (limited to 'utils')
-rw-r--r--utils/ldd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ldd.c b/utils/ldd.c
index b5ca0b615..48022cd8b 100644
--- a/utils/ldd.c
+++ b/utils/ldd.c
@@ -546,7 +546,7 @@ foo:
fprintf(stderr, "%s: not a dynamic executable\n", filename);
return -1;
}
- if (ehdr->e_type == ET_EXEC || ehdr->e_type != ET_DYN) {
+ if (ehdr->e_type == ET_EXEC || ehdr->e_type == ET_DYN) {
if (statbuf.st_mode & S_ISUID)
is_suid = 1;
if ((statbuf.st_mode & (S_ISGID | S_IXGRP)) == (S_ISGID | S_IXGRP))