Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix warning in misc/tst-mntent2.c.
  • Loading branch information
Torvald Riegel committed Dec 16, 2014
1 parent 1469f46 commit a07c442
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
@@ -1,3 +1,7 @@
2014-12-16 Torvald Riegel <triegel@redhat.com>

* misc/tst-mntent2.c (do_test): Fix warning.

2014-12-16 Torvald Riegel <triegel@redhat.com>

* elf/tst-unique4lib.cc(a): Mark as used.
Expand Down
2 changes: 1 addition & 1 deletion misc/tst-mntent2.c
Expand Up @@ -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; \
Expand Down

0 comments on commit a07c442

Please sign in to comment.