mirror of
https://sourceware.org/git/glibc.git
synced 2025-09-08 13:52:10 +03:00
Fix warning in misc/tst-mntent2.c.
This commit is contained in:
@@ -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>
|
2014-12-16 Torvald Riegel <triegel@redhat.com>
|
||||||
|
|
||||||
* elf/tst-unique4lib.cc(a): Mark as used.
|
* elf/tst-unique4lib.cc(a): Mark as used.
|
||||||
|
@@ -17,7 +17,7 @@ do_test (void)
|
|||||||
mef.mnt_passno = 2;
|
mef.mnt_passno = 2;
|
||||||
|
|
||||||
#define TEST(opt, found) \
|
#define TEST(opt, found) \
|
||||||
if (!!hasmntopt (&mef, (opt)) != (found)) \
|
if ((!!hasmntopt (&mef, (opt))) != (found)) \
|
||||||
{ \
|
{ \
|
||||||
printf ("Option %s was %sfound\n", (opt), (found) ? "not " : ""); \
|
printf ("Option %s was %sfound\n", (opt), (found) ? "not " : ""); \
|
||||||
result = 1; \
|
result = 1; \
|
||||||
|
Reference in New Issue
Block a user