We should be using 'unsigned long' for the variable preferred. Signed-off-by: Hannes Reinecke <hare@xxxxxxxx> --- libmultipath/discovery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmultipath/discovery.c b/libmultipath/discovery.c index 1fb4db4..38ab038 100644 --- a/libmultipath/discovery.c +++ b/libmultipath/discovery.c @@ -491,7 +491,7 @@ sysfs_get_asymmetric_access_state(struct path *pp, char *buff, int buflen) { struct udev_device *parent = pp->udev; char value[16], *eptr; - unsigned int preferred; + unsigned long preferred; while (parent) { const char *subsys = udev_device_get_subsystem(parent); -- 2.6.6 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel