]> err.no Git - systemd/commitdiff
udevadm: info - add space after R:, A:, W: on database export
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 8 Jul 2009 15:05:55 +0000 (17:05 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 8 Jul 2009 15:05:55 +0000 (17:05 +0200)
<zzam> kay: udevadmin info -e prints all lines with a space after the :, but the W: line
<kay> zzam: yeah, seems so, and the R: and the A:
<zzam> yeah

udev/udevadm-info.c

index fa09b98299ad89749dffd41ff0914a5a774eb4eb..88bb0d401ff2dcf2f5117b8b7bdd9a53d11e923b 100644 (file)
@@ -144,15 +144,15 @@ static void print_record(struct udev_device *device)
 
        i = udev_device_get_num_fake_partitions(device);
        if (i != 0)
-               printf("A:%u\n", i);
+               printf("A: %u\n", i);
 
        i = udev_device_get_ignore_remove(device);
        if (i != 0)
-               printf("R:%u\n", i);
+               printf("R: %u\n", i);
 
        i = udev_device_get_watch_handle(device);
        if (i >= 0)
-               printf("W:%u\n", i);
+               printf("W: %u\n", i);
 
        udev_list_entry_foreach(list_entry, udev_device_get_devlinks_list_entry(device)) {
                len = strlen(udev_get_dev_path(udev_device_get_udev(device)));