From 7a2c357151e82fe59ca396c81c5f28efecc0094a Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Tue, 28 Sep 2004 08:55:06 +0000 Subject: Oops, typo. Thanks to Peter Kjellerstedt. --- utils/ldd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') 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)) -- cgit v1.2.3