1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-23 10:50:16 +03:00

udevadm: info - add space after R:, A:, W: on database export

<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
This commit is contained in:
Kay Sievers 2009-07-08 17:05:55 +02:00
parent a073cfa844
commit 405c307a72

View 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)));