mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 16:37:19 +09:00
udev-dump: voidify one function call
Fixes CID#1590377.
This commit is contained in:
@@ -29,8 +29,8 @@ void dump_event(UdevEvent *event, FILE *f) {
|
||||
if (sd_device_get_devnum(dev, NULL) >= 0) {
|
||||
|
||||
if (sd_device_get_devlink_first(dev)) {
|
||||
int prio;
|
||||
device_get_devlink_priority(dev, &prio);
|
||||
int prio = 0;
|
||||
(void) device_get_devlink_priority(dev, &prio);
|
||||
fprintf(f, "%sDevice node symlinks:%s (priority=%i)\n", ansi_highlight(), ansi_normal(), prio);
|
||||
FOREACH_DEVICE_DEVLINK(dev, devlink)
|
||||
fprintf(f, " %s\n", devlink);
|
||||
|
||||
Reference in New Issue
Block a user