]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/device.c
core: include error cause in log message
[thirdparty/systemd.git] / src / core / device.c
index 16c1cf19fa626a884298ae7d8f551af5a86379c6..82e38853ab2953adaf27836eb1a5706566cc84f8 100644 (file)
@@ -254,7 +254,7 @@ static int device_deserialize_item(Unit *u, const char *key, const char *value,
         } else if (streq(key, "found")) {
                 r = device_found_from_string_many(value, &d->deserialized_found);
                 if (r < 0)
-                        log_unit_debug_errno(u, r, "Failed to parse found value, ignoring: %s", value);
+                        log_unit_debug_errno(u, r, "Failed to parse found value '%s', ignoring: %m", value);
 
         } else
                 log_unit_debug(u, "Unknown serialization key: %s", key);