X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev_sysfs.c;h=8de523dadf66abc3bbf0198c9dac01036ca7f608;hb=864412e02df16555c02da9ccb0a67fddb6628acd;hp=172f0ce1fdd4b3e95999c4f9f5c1ee0043c9bdd4;hpb=6ecd4d1e364ea8104c83e36b82d1c23835fb104b;p=elogind.git diff --git a/udev_sysfs.c b/udev_sysfs.c index 172f0ce1f..8de523dad 100644 --- a/udev_sysfs.c +++ b/udev_sysfs.c @@ -26,6 +26,7 @@ #include #include #include +#include #include "udev.h" @@ -274,7 +275,7 @@ struct sysfs_device *sysfs_device_get_parent(struct sysfs_device *dev) if (strncmp(parent_devpath, "/class", 6) == 0) { pos = strrchr(parent_devpath, '/'); if (pos == &parent_devpath[6] || pos == parent_devpath) { - dbg("class top level, look for device link"); + dbg("/class top level, look for device link"); goto device_link; } }