fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/libosmocore/+/16139 )


Change subject: logging/vty: use LOG_LEVEL_ARGS in 
logging_vty_add_deprecated_subsys()
......................................................................

logging/vty: use LOG_LEVEL_ARGS in logging_vty_add_deprecated_subsys()

Change-Id: I862c3cce0147ee8cf4013501132584ea09c58b53
---
M src/vty/logging_vty.c
1 file changed, 1 insertion(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/39/16139/1

diff --git a/src/vty/logging_vty.c b/src/vty/logging_vty.c
index 9615943..b4c3776 100644
--- a/src/vty/logging_vty.c
+++ b/src/vty/logging_vty.c
@@ -1005,8 +1005,7 @@
 {
        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";

--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/16139
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I862c3cce0147ee8cf4013501132584ea09c58b53
Gerrit-Change-Number: 16139
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <axilira...@gmail.com>
Gerrit-MessageType: newchange

Reply via email to