From: Joshua Colp Date: Sun, 14 Jan 2007 21:59:05 +0000 (+0000) Subject: Add missing newlines for two memory CLI commands. X-Git-Tag: 1.4.1~286 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=50f951764fa09afa04543aaeb185ea0eb269a117;p=thirdparty%2Fasterisk.git 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 --- diff --git a/main/astmm.c b/main/astmm.c index 40d7502cdc..948d26e6aa 100644 --- a/main/astmm.c +++ b/main/astmm.c @@ -347,7 +347,7 @@ static int handle_show_memory(int fd, int argc, char *argv[]) ast_mutex_unlock(&showmemorylock); 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 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) - 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 ast_cli(fd, "%d bytes allocated in %d allocations\n", len, count);