diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2019-11-21 00:06:53 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2019-11-21 00:07:08 +0700 |
commit | 75c242e6a265b00e48fd3224e0af90025106caa7 (patch) | |
tree | f48d2ab8d3711e61cc0ad5805076ac539876ea8c /src | |
parent | 1581c49bdd36572154b3dc20962ee594e4b0d8c7 (diff) |
logging/vty: use LOG_LEVEL_ARGS in logging_vty_add_deprecated_subsys()
Change-Id: I862c3cce0147ee8cf4013501132584ea09c58b53
Diffstat (limited to 'src')
-rw-r--r-- | src/vty/logging_vty.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vty/logging_vty.c b/src/vty/logging_vty.c index 96159433..b4c3776e 100644 --- a/src/vty/logging_vty.c +++ b/src/vty/logging_vty.c @@ -1005,8 +1005,7 @@ void logging_vty_add_deprecated_subsys(void *ctx, const char *name) { struct cmd_element *cmd = talloc_zero(ctx, struct cmd_element); OSMO_ASSERT(cmd); - cmd->string = talloc_asprintf(cmd, "logging level %s (debug|info|notice|error|fatal)", - name); + cmd->string = talloc_asprintf(cmd, "logging level %s " LOG_LEVEL_ARGS, name); cmd->func = log_deprecated_func; cmd->doc = LEVEL_STR "Deprecated Category\n"; |