aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorTorvald Riegel <triegel@redhat.com>2014-12-15 22:11:56 +0100
committerTorvald Riegel <triegel@redhat.com>2014-12-16 10:27:16 +0100
commita07c4427111dc4abffec21d9491d059eebcfe3d6 (patch)
tree92a8b4dba9432df64437703686e9484e0bcda6be /misc
parent1469f466967a48d11411aaaef7621db39caaee59 (diff)
downloadglibc-a07c4427111dc4abffec21d9491d059eebcfe3d6.zip
glibc-a07c4427111dc4abffec21d9491d059eebcfe3d6.tar.gz
glibc-a07c4427111dc4abffec21d9491d059eebcfe3d6.tar.bz2
Fix warning in misc/tst-mntent2.c.
Diffstat (limited to 'misc')
-rw-r--r--misc/tst-mntent2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/tst-mntent2.c b/misc/tst-mntent2.c
index e61d506..ba1ee0a 100644
--- a/misc/tst-mntent2.c
+++ b/misc/tst-mntent2.c
@@ -17,7 +17,7 @@ do_test (void)
mef.mnt_passno = 2;
#define TEST(opt, found) \
- if (!!hasmntopt (&mef, (opt)) != (found)) \
+ if ((!!hasmntopt (&mef, (opt))) != (found)) \
{ \
printf ("Option %s was %sfound\n", (opt), (found) ? "not " : ""); \
result = 1; \