udevinfo: add DRIVER==
authorKay Sievers <kay.sievers@suse.de>
Sun, 30 Jul 2006 13:54:28 +0000 (15:54 +0200)
committerKay Sievers <kay.sievers@suse.de>
Sun, 30 Jul 2006 13:54:28 +0000 (15:54 +0200)
udevinfo.c

index 567193a..e0ea5fb 100644 (file)
@@ -105,6 +105,7 @@ static int print_device_chain(const char *devpath)
        printf("  looking at device '%s':\n", dev->devpath);
        printf("    KERNEL==\"%s\"\n", dev->kernel_name);
        printf("    SUBSYSTEM==\"%s\"\n", dev->subsystem);
+       printf("    DRIVER==\"%s\"\n", dev->driver);
        print_all_attributes(dev->devpath);
 
        /* walk up the chain of devices */