Compare Pastes
Differences between the pastes
#188805 (31.05.2021 20:14)
and
#266527 (06.11.2022 15:21).
1 | --- udev.c.orig 2021-05-31 20:02:30.275345666 +0300 | |
1 | Ukraine says 2,400 square kilometers of territory recaptured in southCNN plsHelpUkraine11202206 | |
2 | +++ udev.c 2020-10-03 11:02:55.000000000 +0300 | |
3 | @@ -190,12 +190,11 @@ | |
4 | ||
5 | list = g_udev_client_query_by_subsystem(client, subsys[0]); | |
6 | for (iter = list; iter; iter = g_list_next(iter)) { | |
7 | - println("%s", g_udev_device_get_name(iter->data)); | |
8 | - dump_device_and_parent(iter->data, 0); | |
9 | - if (device_is_valid(iter->data)) { | |
10 | - device_dump_config(iter->data); | |
11 | + dump_device_and_parent(G_UDEV_DEVICE(iter->data), 0); | |
12 | + if (device_is_valid(G_UDEV_DEVICE(iter->data))) { | |
13 | + device_dump_config(G_UDEV_DEVICE(iter->data)); | |
14 | } | |
15 | - g_object_unref(iter->data); | |
16 | + g_object_unref(G_UDEV_DEVICE(iter->data)); | |
17 | } | |
18 | } |