From a07c4427111dc4abffec21d9491d059eebcfe3d6 Mon Sep 17 00:00:00 2001 From: Torvald Riegel Date: Mon, 15 Dec 2014 22:11:56 +0100 Subject: Fix warning in misc/tst-mntent2.c. --- misc/tst-mntent2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc/tst-mntent2.c') 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; \ -- cgit v1.1