diff options
Diffstat (limited to 'libudev/libudev-device-private.c')
-rw-r--r-- | libudev/libudev-device-private.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libudev/libudev-device-private.c b/libudev/libudev-device-private.c index 07249c3885..1bcf441237 100644 --- a/libudev/libudev-device-private.c +++ b/libudev/libudev-device-private.c @@ -39,7 +39,7 @@ int udev_device_update_db(struct udev_device *udev_device) util_strscpyl(filename_tmp, sizeof(filename_tmp), filename, ".tmp", NULL); udev_list_entry_foreach(list_entry, udev_device_get_properties_list_entry(udev_device)) - if (udev_list_entry_get_flag(list_entry)) + if (udev_list_entry_get_flags(list_entry)) goto file; if (udev_device_get_num_fake_partitions(udev_device) != 0) goto file; @@ -102,7 +102,7 @@ file: if (udev_device_get_watch_handle(udev_device) >= 0) fprintf(f, "W:%i\n", udev_device_get_watch_handle(udev_device)); udev_list_entry_foreach(list_entry, udev_device_get_properties_list_entry(udev_device)) { - if (!udev_list_entry_get_flag(list_entry)) + if (!udev_list_entry_get_flags(list_entry)) continue; fprintf(f, "E:%s=%s\n", udev_list_entry_get_name(list_entry), |