1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-19 22:50:17 +03:00

[PATCH] The attached patch fixes the code path if namedev_name_device() fails.

This commit is contained in:
mbuesch@freenet.de 2005-02-01 11:12:32 +01:00 committed by Greg KH
parent c033fd9f01
commit 85a953c0ee

View File

@ -292,7 +292,7 @@ int udev_add_device(struct udevice *udev, struct sysfs_class_device *class_dev)
}
if (namedev_name_device(udev, class_dev) != 0)
goto exit;
return 0;
dbg("adding name='%s'", udev->name);