Skip to content

Commit

Permalink
psh/mem: print shared map name
Browse files Browse the repository at this point in the history
JIRA: RTOS-754
  • Loading branch information
jmaksymowicz committed Oct 23, 2024
1 parent 3165f3a commit 84780d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psh/mem/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ static int psh_sharedMaps(void)
continue;
}

printf("\nMap #%d\n", info.maps.map[i].id);
printf("\nMap #%d: %s\n", info.maps.map[i].id, info.maps.map[i].name);
psh_bytes2humanReadable(buff, sizeof(buff), info.maps.map[i].alloc + info.maps.map[i].free);
printf("\tSize: %s (%zu bytes)\n", buff, info.maps.map[i].alloc + info.maps.map[i].free);
psh_bytes2humanReadable(buff, sizeof(buff), info.maps.map[i].alloc);
Expand Down

0 comments on commit 84780d6

Please sign in to comment.