[PATCH] tst-mallinfo2.c: Remove useless trailing semicolon for macro
Yang Xu
xuyang2018.jy@cn.fujitsu.com
Wed Jan 27 02:34:38 GMT 2021
Macros should not use a trailing semicolon, so remove it.
Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
---
malloc/tst-mallinfo2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/malloc/tst-mallinfo2.c b/malloc/tst-mallinfo2.c
index 48e65cb7d7..59a15cf7a8 100644
--- a/malloc/tst-mallinfo2.c
+++ b/malloc/tst-mallinfo2.c
@@ -30,7 +30,7 @@ static void
print_mi (const char *msg, struct mallinfo2 *m)
{
printf("\n%s...\n", msg);
-#define P(f) printf("%s: %zu\n", #f, m->f);
+#define P(f) printf("%s: %zu\n", #f, m->f)
P(arena);
P(ordblks);
P(smblks);
--
2.23.0
More information about the Libc-alpha
mailing list