diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2015-10-01 11:28:40 +0200 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2015-10-01 11:28:40 +0200 |
commit | 46b57b6eece0ed9b67cd199af484046e50487589 (patch) | |
tree | 596078b6f01afc552d4257f1d133d62ac68c995e /src/udev | |
parent | 19c29853804f8806866695d743fd4e3586996dbb (diff) |
udev: fix format string after conversion to log_*_errno()
Use %m where previously %s was used together with strerrno().
Fixes: e53fc357a9b "tree-wide: remove a number of invocations of
strerror() and replace by %m"
Diffstat (limited to 'src/udev')
-rw-r--r-- | src/udev/udev-rules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c index e5a066aa1e..83c1793751 100644 --- a/src/udev/udev-rules.c +++ b/src/udev/udev-rules.c @@ -2514,7 +2514,7 @@ int udev_rules_apply_to_event(struct udev_rules *rules, rules_str(rules, rule->rule.filename_off), rule->rule.filename_line); r = sysctl_write(filename, value); if (r < 0) - log_error_errno(r, "error writing SYSCTL{%s}='%s': %s", filename, value); + log_error_errno(r, "error writing SYSCTL{%s}='%s': %m", filename, value); break; } case TK_A_RUN_BUILTIN: |