X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=extras%2Fpath_id%2Fpath_id.c;h=928aa6737fb0cf8e708a67f00f9dcf76ea08629d;hp=98f0e400890b3edaae46c8c1614f319e56fa4fbc;hb=0438d54ed901154d9ee9ef875ef82e442a7c4947;hpb=a07e011434b2b218b2c77c0fa4fcfb001dec4b7f;ds=sidebyside diff --git a/extras/path_id/path_id.c b/extras/path_id/path_id.c index 98f0e4008..928aa6737 100644 --- a/extras/path_id/path_id.c +++ b/extras/path_id/path_id.c @@ -496,6 +496,9 @@ int main(int argc, char **argv) } else if (strcmp(subsys, "platform") == 0) { path_prepend(&path, "platform-%s", udev_device_get_sysname(parent)); parent = skip_subsystem(parent, "platform"); + } else if (strcmp(subsys, "acpi") == 0) { + path_prepend(&path, "acpi-%s", udev_device_get_sysname(parent)); + parent = skip_subsystem(parent, "acpi"); } else if (strcmp(subsys, "xen") == 0) { path_prepend(&path, "xen-%s", udev_device_get_sysname(parent)); parent = skip_subsystem(parent, "xen");