about summary refs log tree commit diff
path: root/misc/tst-mntent2.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/tst-mntent2.c')
-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 e61d506cd4..ba1ee0ae19 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;							\