mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 07:18:15 +00:00
Add missing newlines for two memory CLI commands.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -347,7 +347,7 @@ static int handle_show_memory(int fd, int argc, char *argv[])
|
|||||||
ast_mutex_unlock(&showmemorylock);
|
ast_mutex_unlock(&showmemorylock);
|
||||||
|
|
||||||
if (cache_len)
|
if (cache_len)
|
||||||
ast_cli(fd, "%d bytes allocated (%d in caches) in %d allocations", len, cache_len, count);
|
ast_cli(fd, "%d bytes allocated (%d in caches) in %d allocations\n", len, cache_len, count);
|
||||||
else
|
else
|
||||||
ast_cli(fd, "%d bytes allocated in %d allocations\n", len, count);
|
ast_cli(fd, "%d bytes allocated in %d allocations\n", len, count);
|
||||||
|
|
||||||
@@ -424,7 +424,7 @@ static int handle_show_memory_summary(int fd, int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (cache_len)
|
if (cache_len)
|
||||||
ast_cli(fd, "%d bytes allocated (%d in caches) in %d allocations", len, cache_len, count);
|
ast_cli(fd, "%d bytes allocated (%d in caches) in %d allocations\n", len, cache_len, count);
|
||||||
else
|
else
|
||||||
ast_cli(fd, "%d bytes allocated in %d allocations\n", len, count);
|
ast_cli(fd, "%d bytes allocated in %d allocations\n", len, count);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user