mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 02:21:44 +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 "alloc-util.h"
|
||||||
#include "device-private.h"
|
#include "device-private.h"
|
||||||
|
#include "device-util.h"
|
||||||
#include "fd-util.h"
|
#include "fd-util.h"
|
||||||
#include "format-util.h"
|
#include "format-util.h"
|
||||||
#include "libudev-device-internal.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);
|
r = device_get_properties_strv(event->dev->device, &envp);
|
||||||
if (r < 0)
|
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);
|
log_debug("Starting '%s'", cmd);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user