diff options
Diffstat (limited to 'fs/lockd/svc.c')
-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 2774e1013b34..f49b9afc4436 100644 --- a/fs/lockd/svc.c +++ b/fs/lockd/svc.c | |||
@@ -496,7 +496,7 @@ static int param_set_##name(const char *val, struct kernel_param *kp) \ | |||
496 | __typeof__(type) num = which_strtol(val, &endp, 0); \ | 496 | __typeof__(type) num = which_strtol(val, &endp, 0); \ |
497 | if (endp == val || *endp || num < (min) || num > (max)) \ | 497 | if (endp == val || *endp || num < (min) || num > (max)) \ |
498 | return -EINVAL; \ | 498 | return -EINVAL; \ |
499 | *((int *) kp->arg) = num; \ | 499 | *((type *) kp->arg) = num; \ |
500 | return 0; \ | 500 | return 0; \ |
501 | } | 501 | } |
502 | 502 | ||