diff options
author | Ronny Chevalier <chevalier.ronny@gmail.com> | 2014-11-12 21:42:38 +0100 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-11-14 19:54:23 -0500 |
commit | aec5d2b9b4159cab7357e311fd558790037cd04b (patch) | |
tree | 7e0178d43ce957b4766100ffe064a2b16f12b372 /src | |
parent | 1425cbb6062425663480dac8e4e1327cd93c5a98 (diff) |
udev: use properly the systemd logging functions
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/udev/udev-rules.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c index 429b6fb26c..40707ff731 100644 --- a/src/udev/udev-rules.c +++ b/src/udev/udev-rules.c @@ -2334,9 +2334,9 @@ int udev_rules_apply_to_event(struct udev_rules *rules, r = get_user_creds(&ow, &event->uid, NULL, NULL, NULL); if (r < 0) { if (r == -ENOENT || r == -ESRCH) - log_error(event->udev, "specified user '%s' unknown\n", owner); + log_error("specified user '%s' unknown\n", owner); else - log_error(event->udev, "error resolving user '%s': %s\n", owner, strerror(-r)); + log_error("error resolving user '%s': %s\n", owner, strerror(-r)); event->uid = 0; } @@ -2360,9 +2360,9 @@ int udev_rules_apply_to_event(struct udev_rules *rules, r = get_group_creds(&gr, &event->gid); if (r < 0) { if (r == -ENOENT || r == -ESRCH) - log_error(event->udev, "specified group '%s' unknown\n", group); + log_error("specified group '%s' unknown\n", group); else - log_error(event->udev, "error resolving group '%s': %s\n", group, strerror(-r)); + log_error("error resolving group '%s': %s\n", group, strerror(-r)); event->gid = 0; } |