1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-11 09:18:07 +03:00

[PATCH] libsysfs: work around a klibc bug

This commit is contained in:
kay.sievers@vrfy.org 2005-02-16 23:20:48 +01:00 committed by Greg KH
parent fd9efc00a2
commit 3f930093f9

View File

@ -111,7 +111,7 @@ static void set_classdev_classname(struct sysfs_class_device *cdev)
if (c == NULL) {
c = strstr(cdev->path, SYSFS_BLOCK_NAME);
} else {
c = strstr(c, "/");
c = strchr(c, '/');
}
if (c == NULL)