summaryrefslogtreecommitdiff
path: root/src/shared/log.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-20 19:47:42 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-20 19:48:15 -0400
commitf0ea29eaeb3449822bfbdfa839b00e323dfc523e (patch)
tree08eff435a89579ca339b18ec46246becf9703cf7 /src/shared/log.c
parentb87c2aa6bf1247c298c9bd9f56b9b56a87836b2d (diff)
Add quotes to warning message
The message for SYSTEMD_LOG_LEVEL= looked a bit strange.
Diffstat (limited to 'src/shared/log.c')
-rw-r--r--src/shared/log.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shared/log.c b/src/shared/log.c
index 9039db3496..3941e3e1c2 100644
--- a/src/shared/log.c
+++ b/src/shared/log.c
@@ -884,19 +884,19 @@ void log_parse_environment(void) {
e = secure_getenv("SYSTEMD_LOG_TARGET");
if (e && log_set_target_from_string(e) < 0)
- log_warning("Failed to parse log target %s. Ignoring.", e);
+ log_warning("Failed to parse log target '%s'. Ignoring.", e);
e = secure_getenv("SYSTEMD_LOG_LEVEL");
if (e && log_set_max_level_from_string(e) < 0)
- log_warning("Failed to parse log level %s. Ignoring.", e);
+ log_warning("Failed to parse log level '%s'. Ignoring.", e);
e = secure_getenv("SYSTEMD_LOG_COLOR");
if (e && log_show_color_from_string(e) < 0)
- log_warning("Failed to parse bool %s. Ignoring.", e);
+ log_warning("Failed to parse bool '%s'. Ignoring.", e);
e = secure_getenv("SYSTEMD_LOG_LOCATION");
if (e && log_show_location_from_string(e) < 0)
- log_warning("Failed to parse bool %s. Ignoring.", e);
+ log_warning("Failed to parse bool '%s'. Ignoring.", e);
}
LogTarget log_get_target(void) {