mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 17:51:22 +03:00
udev-event: include device name in error message one more place
This commit is contained in:
parent
7606377e2c
commit
e9343893f7
@ -13,6 +13,7 @@
|
||||
|
||||
#include "alloc-util.h"
|
||||
#include "device-private.h"
|
||||
#include "device-util.h"
|
||||
#include "fd-util.h"
|
||||
#include "format-util.h"
|
||||
#include "libudev-device-internal.h"
|
||||
@ -613,7 +614,7 @@ int udev_event_spawn(struct udev_event *event,
|
||||
|
||||
r = device_get_properties_strv(event->dev->device, &envp);
|
||||
if (r < 0)
|
||||
return log_error_errno(r, "Failed to get device properties");
|
||||
return log_device_error_errno(event->dev->device, r, "Failed to get device properties");
|
||||
|
||||
log_debug("Starting '%s'", cmd);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user