Fix number parsing in cifs_parse_mount_options
[pandora-kernel.git] / fs / cifs / connect.c
index 6a86f3d..f31dc9a 100644 (file)
@@ -1123,7 +1123,7 @@ static int get_option_ul(substring_t args[], unsigned long *option)
        string = match_strdup(args);
        if (string == NULL)
                return -ENOMEM;
-       rc = kstrtoul(string, 10, option);
+       rc = kstrtoul(string, 0, option);
        kfree(string);
 
        return rc;