Skip to content

Commit e8bd67d

Browse files
yuwatabluca
authored andcommitted
sd-device: add missing debugging log
It was unexpectedly dropped by 660087d. (cherry picked from commit 7e52386) (cherry picked from commit b3951fb) (cherry picked from commit df94304)
1 parent eb97a47 commit e8bd67d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsystemd/sd-device/sd-device.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ int device_set_syspath(sd_device *device, const char *_syspath, bool verify) {
234234

235235
r = path_simplify_alloc(_syspath, &syspath);
236236
if (r < 0)
237-
return r;
237+
return log_oom_debug();
238238
}
239239

240240
assert_se(devpath = startswith(syspath, "/sys"));

0 commit comments

Comments
 (0)