diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-05-12 05:25:21 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-12 05:25:21 +0900 |
commit | 34f6ae24c5ca7975ed5bd6d47e42bda0e7bf97be (patch) | |
tree | d746a1a4101420e602567980626d0a1a17b506f1 /src/core/device.c | |
parent | 0cfb00d9da8af2387e89f5aa49adfd95b365aa28 (diff) | |
parent | 011a03a3fae25f2b715f2d88bc16b4cb8f8f2da2 (diff) | |
download | systemd-34f6ae24c5ca7975ed5bd6d47e42bda0e7bf97be.tar.gz |
Merge pull request #23351 from keszybz/logind-message
logind: fix crash in logind on bad message string
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 4885fa9295..44425cda3c 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) { |