summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--udev_sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_sysfs.c b/udev_sysfs.c
index 8813bd5c47..fc7ee885b0 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 */