- printf("P: %s\n", path);
- printf("N: %s\n", dev->name);
- printf("T: %c\n", dev->type);
- printf("M: %#o\n", dev->mode);
- printf("S: %s\n", dev->symlink);
- printf("O: %s\n", dev->owner);
- printf("G: %s\n", dev->group);
- printf("F: %s\n", dev->config_file);
- printf("L: %i\n", dev->config_line);
- printf("U: %li\n", dev->config_uptime);
- printf("\n");
+ struct name_entry *name_loop;
+
+ printf("P: %s\n", udev->devpath);
+ printf("N: %s\n", udev->name);
+ list_for_each_entry(name_loop, &udev->symlink_list, node)
+ printf("S: %s\n", name_loop->name);
+