about summary refs log tree commit diff
path: root/malloc/tst-mallinfo2.c
diff options
context:
space:
mode:
authorYang Xu <xuyang2018.jy@cn.fujitsu.com>2021-02-01 19:19:43 +0100
committerArjun Shankar <arjun@redhat.com>2021-02-01 19:28:00 +0100
commitd5c8f98c5e6de207790d3e9edadf5bda4aa2521f (patch)
tree9e68b363046edb5e6a565b68a0dd8072f1447ad4 /malloc/tst-mallinfo2.c
parent02d393f2483aedc4ce74e6edf8a15f063198041d (diff)
downloadglibc-d5c8f98c5e6de207790d3e9edadf5bda4aa2521f.tar.gz
glibc-d5c8f98c5e6de207790d3e9edadf5bda4aa2521f.tar.xz
glibc-d5c8f98c5e6de207790d3e9edadf5bda4aa2521f.zip
tst-mallinfo2.c: Remove useless trailing semicolon for macro
Macros should not use a trailing semicolon, so remove it.

Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'malloc/tst-mallinfo2.c')
-rw-r--r--malloc/tst-mallinfo2.c2
1 files changed, 1 insertions, 1 deletions
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);