aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-07-24 16:26:14 +0200
committerHarald Welte <laforge@gnumonks.org>2018-07-25 18:51:20 +0000
commit53a1e49354e8d9b15083d129c10d0f65bff08a83 (patch)
treef9623b74b9e629b084d7490ebbf4ce04d10bcc8b
parent9af7076b01126ae07bb931b17ccb62cd9e48e6e6 (diff)
logging: log_vty_command_string: Fix undercount of buf alloc size
-rw-r--r--src/logging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logging.c b/src/logging.c
index 1dfd484..381d303 100644
--- a/src/logging.c
+++ b/src/logging.c
@@ -932,7 +932,7 @@ const char *log_vty_command_string()
{
struct log_info *info = osmo_log_info;
int len = 0, offset = 0, ret, i, rem;
- int size = strlen("logging level () ()") + 1;
+ int size = strlen("logging level (all|) ()") + 1;
char *str;
assert_loginfo(__func__);