diff options
Diffstat (limited to 'fs/lockd')
-rw-r--r-- | fs/lockd/svc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c index c061b9aa7ddb..2444780f5cfa 100644 --- a/fs/lockd/svc.c +++ b/fs/lockd/svc.c | |||
@@ -440,7 +440,7 @@ static int param_set_##name(const char *val, struct kernel_param *kp) \ | |||
440 | __typeof__(type) num = which_strtol(val, &endp, 0); \ | 440 | __typeof__(type) num = which_strtol(val, &endp, 0); \ |
441 | if (endp == val || *endp || num < (min) || num > (max)) \ | 441 | if (endp == val || *endp || num < (min) || num > (max)) \ |
442 | return -EINVAL; \ | 442 | return -EINVAL; \ |
443 | *((int *) kp->arg) = num; \ | 443 | *((type *) kp->arg) = num; \ |
444 | return 0; \ | 444 | return 0; \ |
445 | } | 445 | } |
446 | 446 | ||