diff --git a/udev_sysfs.c b/udev_sysfs.c index 8813bd5c470..fc7ee885b0b 100644 --- a/udev_sysfs.c +++ b/udev_sysfs.c @@ -330,7 +330,7 @@ int wait_for_devices_device(struct sysfs_device *devices_dev, { .bus = "iucv", .file = "detach_state" }, { NULL, NULL } }; - const struct device_file *devicefile; + const struct device_file *devicefile = NULL; int loop; /* the kernel may tell us what to wait for */