mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 01:33:36 +08:00
Fix warning in misc/tst-mntent2.c.
This commit is contained in:
parent
1469f46696
commit
a07c442711
@ -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.
|
||||
|
@ -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; \
|
||||
|
Loading…
Reference in New Issue
Block a user