diff options
author | Ronny Chevalier <chevalier.ronny@gmail.com> | 2014-11-12 21:42:38 +0100 |
---|---|---|
committer | Ronny Chevalier <chevalier.ronny@gmail.com> | 2014-11-12 21:44:38 +0100 |
commit | 00b06165a198e7e7ad7232752bd998b9d0b52d4b (patch) | |
tree | c170dadea77962e7d5fa7f1171b17a5be7b0239d | |
parent | b12b78712edb09a0fc28b460ebf0bb8eae5cff03 (diff) |
udev: use properly the systemd logging functions
-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 92c4320618..c02295fbe2 100644 --- a/src/udev/udev-rules.c +++ b/src/udev/udev-rules.c @@ -2265,9 +2265,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; } @@ -2291,9 +2291,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; } |