tst-mallinfo2.c: Remove useless trailing semicolon for macro

Message ID 1611714878-22540-1-git-send-email-xuyang2018.jy@cn.fujitsu.com
State Committed, archived
Delegated to: Arjun Shankar
Headers
Series tst-mallinfo2.c: Remove useless trailing semicolon for macro |

Commit Message

Yang Xu Jan. 27, 2021, 2:34 a.m. UTC
  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(-)
  

Patch

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);