From 23814a44e5d2c03d343fcaf86cdabc95ca0c31b4 Mon Sep 17 00:00:00 2001 From: Aurelien DARRAGON Date: Fri, 24 May 2024 10:22:57 +0200 Subject: [PATCH] CLEANUP: tools: fix vma_set_name() function comment There was a typo in the example provided in vma_set_name(): maps named using the function will show up as "type:name", not "type.name", updating the comment to reflect the current behavior. --- src/tools.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools.c b/src/tools.c index 717de4135..a8e01fe43 100644 --- a/src/tools.c +++ b/src/tools.c @@ -6515,9 +6515,9 @@ void vma_set_name(void *addr, size_t size, const char *type, const char *name) * except [, ], \, $ and '. * As a result, when looking for /proc//maps, we can see the anonymous range * as follow : - * `7364c4fff000-736508000000 rw-s 00000000 00:01 3540 [anon_shmem:scope.name]` + * `7364c4fff000-736508000000 rw-s 00000000 00:01 3540 [anon_shmem:scope:name]` * (MAP_SHARED) - * `7364c4fff000-736508000000 rw-s 00000000 00:01 3540 [anon:scope.name]` + * `7364c4fff000-736508000000 rw-s 00000000 00:01 3540 [anon:scope:name]` * (MAP_PRIVATE) */ char fullname[80];