]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Add missing newlines for two memory CLI commands.
authorJoshua Colp <jcolp@digium.com>
Sun, 14 Jan 2007 21:59:05 +0000 (21:59 +0000)
committerJoshua Colp <jcolp@digium.com>
Sun, 14 Jan 2007 21:59:05 +0000 (21:59 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50820 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/astmm.c

index 40d7502cdcbc8fce36e52870b2d2015b09b09e93..948d26e6aafe1da2082fae842e77f55af0f54220 100644 (file)
@@ -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);