chiark / gitweb /
[PATCH] namedev: execute PROGRAM only once and not possibly for every physical device
[elogind.git] / udev_sysfs.c
index 1b3603df6d0d018b815bf4488e58f3a2e3890811..fd7330a161760b00443d811762a05bc784de369f 100644 (file)
@@ -211,7 +211,7 @@ static int class_device_expect_no_device_link(struct sysfs_class_device *class_d
                { NULL, NULL }
        };
        const struct class_device *classdevice;
-       int len;
+       unsigned int len;
 
        /* the kernel may tell us what to wait for */
        if (kernel_release_satisfactory(2,6,10) > 0)