diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-04-06 19:50:19 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-04-06 19:50:19 +0200 |
commit | 019d6669076f52994cca199fbbae6eefbb96aeb8 (patch) | |
tree | b33bf7681008f903f9dbba506087054ce0a53417 /udev_db.c | |
parent | 68d4af11cae0af3a8e06770228b16613700b363e (diff) |
udevinfo: export all information stored in database
Diffstat (limited to 'udev_db.c')
-rw-r--r-- | udev_db.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -157,9 +157,9 @@ int udev_db_add_device(struct udevice *udev) name_index(udev->dev->devpath, name_loop->name, 1); } fprintf(f, "M:%u:%u\n", major(udev->devt), minor(udev->devt)); - if (udev->link_priority) + if (udev->link_priority != 0) fprintf(f, "L:%u\n", udev->link_priority); - if (udev->partitions) + if (udev->partitions != 0) fprintf(f, "A:%u\n", udev->partitions); if (udev->ignore_remove) fprintf(f, "R:%u\n", udev->ignore_remove); |