diff options
-rw-r--r-- | fs/cifs/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 6a86f3d68182..f31dc9ac37b7 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -1123,7 +1123,7 @@ static int get_option_ul(substring_t args[], unsigned long *option) | |||
1123 | string = match_strdup(args); | 1123 | string = match_strdup(args); |
1124 | if (string == NULL) | 1124 | if (string == NULL) |
1125 | return -ENOMEM; | 1125 | return -ENOMEM; |
1126 | rc = kstrtoul(string, 10, option); | 1126 | rc = kstrtoul(string, 0, option); |
1127 | kfree(string); | 1127 | kfree(string); |
1128 | 1128 | ||
1129 | return rc; | 1129 | return rc; |