diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-05-10 13:39:08 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-05-11 16:47:40 +0200 |
commit | 92663a5e5beb44d91a5cdae56d1bc7cfce01fe0a (patch) | |
tree | d1cc9788b3b4a603397793987ec845d7efb96fa1 /src/core/device.c | |
parent | 153d1579ef5255e589cefab0cf149c55580a25a4 (diff) | |
download | systemd-92663a5e5beb44d91a5cdae56d1bc7cfce01fe0a.tar.gz |
tree-wide: use LOG_MESSAGE() where possible
Also break some long lines for more uniform formatting. No functional change.
I went over all log_struct, log_struct_errno, log_unit_struct,
log_unit_struct_errno calls, and they seem fine.
Diffstat (limited to 'src/core/device.c')
-rw-r--r-- | src/core/device.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/device.c b/src/core/device.c index f65dbfcb1e..feb6479361 100644 --- a/src/core/device.c +++ b/src/core/device.c @@ -493,7 +493,8 @@ static int device_setup_unit(Manager *m, sd_device *dev, const char *path, bool LOG_WARNING, r, "MESSAGE_ID=" SD_MESSAGE_DEVICE_PATH_NOT_SUITABLE_STR, "DEVICE=%s", path, - LOG_MESSAGE("Failed to generate valid unit name from device path '%s', ignoring device: %m", path)); + LOG_MESSAGE("Failed to generate valid unit name from device path '%s', ignoring device: %m", + path)); u = manager_get_unit(m, e); if (u) { |