From: Yu Watanabe Date: Sat, 4 Jan 2025 18:09:29 +0000 (+0900) Subject: sd-device: add missing debugging log X-Git-Tag: v257.2~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b3951fb0a8e1d0b1158602567dfc1cfb4ef50f49;p=thirdparty%2Fsystemd.git sd-device: add missing debugging log It was unexpectedly dropped by 660087dc9c4a5c610da99e7b6b1772e371eb0a80. (cherry picked from commit 7e5238625ed4a879c2fe8ff7e457021d174bf083) --- diff --git a/src/libsystemd/sd-device/sd-device.c b/src/libsystemd/sd-device/sd-device.c index 01fa90b1ff5..94dfd2ef138 100644 --- a/src/libsystemd/sd-device/sd-device.c +++ b/src/libsystemd/sd-device/sd-device.c @@ -234,7 +234,7 @@ int device_set_syspath(sd_device *device, const char *_syspath, bool verify) { r = path_simplify_alloc(_syspath, &syspath); if (r < 0) - return r; + return log_oom_debug(); } assert_se(devpath = startswith(syspath, "/sys"));