chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
networkd: reorder bonding and bridging
[elogind.git]
/
src
/
shared
/
conf-parser.c
diff --git
a/src/shared/conf-parser.c
b/src/shared/conf-parser.c
index 0a87a715136eafb552bd406137b829672a9dd2d6..d27b1b7eeac40206888376c216a443932cb33c23 100644
(file)
--- a/
src/shared/conf-parser.c
+++ b/
src/shared/conf-parser.c
@@
-585,7
+585,7
@@
int config_parse_string(
assert(data);
if (!utf8_is_valid(rvalue)) {
assert(data);
if (!utf8_is_valid(rvalue)) {
- log_
syntax(unit, LOG_ERR, filename, line, EINVAL, "String is not UTF-8 clean, ignoring assignment: %s"
, rvalue);
+ log_
invalid_utf8(unit, LOG_ERR, filename, line, EINVAL
, rvalue);
return 0;
}
return 0;
}
@@
-623,7
+623,7
@@
int config_parse_path(
assert(data);
if (!utf8_is_valid(rvalue)) {
assert(data);
if (!utf8_is_valid(rvalue)) {
- log_
syntax(unit, LOG_ERR, filename, line, EINVAL, "Path is not UTF-8 clean, ignoring assignment: %s"
, rvalue);
+ log_
invalid_utf8(unit, LOG_ERR, filename, line, EINVAL
, rvalue);
return 0;
}
return 0;
}
@@
-688,8
+688,7
@@
int config_parse_strv(const char *unit,
return log_oom();
if (!utf8_is_valid(n)) {
return log_oom();
if (!utf8_is_valid(n)) {
- log_syntax(unit, LOG_ERR, filename, line, EINVAL,
- "String is not UTF-8 clean, ignoring: %s", rvalue);
+ log_invalid_utf8(unit, LOG_ERR, filename, line, EINVAL, rvalue);
continue;
}
continue;
}