Merge branch 'stable-3.2' into pandora-3.2
[pandora-kernel.git] / drivers / staging / usbip / userspace / libsrc / usbip_common.c
index 154b4b1..8751ebd 100644 (file)
@@ -164,7 +164,7 @@ int read_attr_speed(struct sysfs_device *dev)
                goto err;
        }
 
-       ret = sscanf(attr->value, "%s\n", speed);
+       ret = sscanf(attr->value, "%99s\n", speed);
        if (ret < 1) {
                dbg("sscanf failed");
                goto err;