chiark / gitweb /
conf-parser: fix wrong argument given to log_syntax_invalid_utf8
[elogind.git] / src / shared / conf-parser.c
index 06c05a0ce35cdf70d2baf12951792842e894612f..291c4188cab117b8f669de1dcf61772fee977941 100644 (file)
@@ -802,7 +802,7 @@ int config_parse_strv(const char *unit,
                 }
 
                 if (!utf8_is_valid(word)) {
-                        log_syntax_invalid_utf8(unit, LOG_ERR, filename, line, rvalue);
+                        log_syntax_invalid_utf8(unit, LOG_ERR, filename, line, word);
                         free(word);
                         continue;
                 }