mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
Fix warning in misc/tst-mntent2.c.
This commit is contained in:
parent
1469f46696
commit
a07c442711
2 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue