basic/log: fix SYSTEMD_LOG_* parsing error messages

(likely a copy-paste gone wrong)
This commit is contained in:
Ivan Shapovalov
2019-07-06 13:47:06 +03:00
parent c38d2d4d59
commit df2452c553
+2 -2
View File
@@ -1110,11 +1110,11 @@ void log_parse_environment_realm(LogRealm realm) {
e = 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 log color '%s'. Ignoring.", e);
e = 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 log location '%s'. Ignoring.", e);
}
LogTarget log_get_target(void) {