diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-07-24 16:26:14 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-07-25 18:51:20 +0000 |
commit | 53a1e49354e8d9b15083d129c10d0f65bff08a83 (patch) | |
tree | f9623b74b9e629b084d7490ebbf4ce04d10bcc8b | |
parent | 9af7076b01126ae07bb931b17ccb62cd9e48e6e6 (diff) |
logging: log_vty_command_string: Fix undercount of buf alloc size
Change-Id: I7aca0ce3d2981001e8081f7cee0dea3e2aaf8f7c
-rw-r--r-- | src/logging.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logging.c b/src/logging.c index 1dfd4847..381d3034 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__); |