chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix indentation
[elogind.git]
/
udev
/
udevadm-info.c
diff --git
a/udev/udevadm-info.c
b/udev/udevadm-info.c
index b18f249495587498bd56095a7d5f06507c97dda7..d30fc0031ce23b8183207e70dadb6520fdfe9f49 100644
(file)
--- a/
udev/udevadm-info.c
+++ b/
udev/udevadm-info.c
@@
-60,7
+60,7
@@
static void print_all_attributes(struct udev_device *device, const char *key)
if (S_ISLNK(statbuf.st_mode))
continue;
if (S_ISLNK(statbuf.st_mode))
continue;
- value = udev_device_get_attr_value(device, dent->d_name);
+ value = udev_device_get_
sys
attr_value(device, dent->d_name);
if (value == NULL)
continue;
dbg(udev, "attr '%s'='%s'(%zi)\n", dent->d_name, value, len);
if (value == NULL)
continue;
dbg(udev, "attr '%s'='%s'(%zi)\n", dent->d_name, value, len);
@@
-141,15
+141,15
@@
static void print_record(struct udev_device *device)
if (str != NULL)
printf("N: %s\n", &str[len+1]);
if (str != NULL)
printf("N: %s\n", &str[len+1]);
- i = device_get_devlink_priority(device);
+ i =
udev_
device_get_devlink_priority(device);
if (i != 0)
printf("L: %i\n", i);
if (i != 0)
printf("L: %i\n", i);
- i = device_get_num_fake_partitions(device);
+ i =
udev_
device_get_num_fake_partitions(device);
if (i != 0)
printf("A:%u\n", i);
if (i != 0)
printf("A:%u\n", i);
- i = device_get_ignore_remove(device);
+ i =
udev_
device_get_ignore_remove(device);
if (i != 0)
printf("R:%u\n", i);
if (i != 0)
printf("R:%u\n", i);