Change in libosmocore[master]: vty/logging: use consistent quiting in warning messages

fixeria gerrit-no-reply at lists.osmocom.org
Mon Apr 5 02:04:31 UTC 2021


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


Change subject: vty/logging: use consistent quiting in warning messages
......................................................................

vty/logging: use consistent quiting in warning messages

Change-Id: Ifded63a38caac26e174fc6cb69dead7bc83db344
---
M src/vty/logging_vty.c
1 file changed, 4 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/28/23628/1

diff --git a/src/vty/logging_vty.c b/src/vty/logging_vty.c
index 48b039b..cc250c0 100644
--- a/src/vty/logging_vty.c
+++ b/src/vty/logging_vty.c
@@ -372,12 +372,12 @@
 	int level = log_parse_level(argv[1]);
 
 	if (level < 0) {
-		vty_out(vty, "Invalid level `%s'%s", argv[1], VTY_NEWLINE);
+		vty_out(vty, "Invalid level '%s'%s", argv[1], VTY_NEWLINE);
 		return CMD_WARNING;
 	}
 
 	if (category < 0) {
-		vty_out(vty, "Invalid category `%s'%s", argv[0], VTY_NEWLINE);
+		vty_out(vty, "Invalid category '%s'%s", argv[0], VTY_NEWLINE);
 		return CMD_WARNING;
 	}
 
@@ -889,7 +889,7 @@
 	if (!tgt) {
 		tgt = log_target_create_file(fname);
 		if (!tgt) {
-			vty_out(vty, "%% Unable to create file `%s'%s",
+			vty_out(vty, "%% Unable to create file '%s'%s",
 				fname, VTY_NEWLINE);
 			RET_WITH_UNLOCK(CMD_WARNING);
 		}
@@ -913,7 +913,7 @@
 	log_tgt_mutex_lock();
 	tgt = log_target_find(LOG_TGT_TYPE_FILE, fname);
 	if (!tgt) {
-		vty_out(vty, "%% No such log file `%s'%s",
+		vty_out(vty, "%% No such log file '%s'%s",
 			fname, VTY_NEWLINE);
 		RET_WITH_UNLOCK(CMD_WARNING);
 	}

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ifded63a38caac26e174fc6cb69dead7bc83db344
Gerrit-Change-Number: 23628
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210405/91ef075a/attachment-0001.htm>


More information about the gerrit-log mailing list