diff options
| author | dsl <dsl@NetBSD.org> | 2007-05-12 20:27:13 +0000 |
|---|---|---|
| committer | dsl <dsl@NetBSD.org> | 2007-05-12 20:27:13 +0000 |
| commit | ef3fdc4a0728b44dbcdb8426ae16415b1e838ba8 (patch) | |
| tree | 7fcf81733a44b9b8962cf65a35b9b454b0cfd3af /sys/dev/clockctl.c | |
| parent | dd490a6f181bb07db68ac1960500cfda12a63cce (diff) | |
Change interface to settimeofday1() so that it can also be used from
compat code in order to avoid the stackgap.
Diffstat (limited to 'sys/dev/clockctl.c')
| -rw-r--r-- | sys/dev/clockctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/clockctl.c b/sys/dev/clockctl.c index 123333eb0ca..5ca11d0c380 100644 --- a/sys/dev/clockctl.c +++ b/sys/dev/clockctl.c @@ -1,4 +1,4 @@ -/* $NetBSD: clockctl.c,v 1.21 2007/03/04 06:01:41 christos Exp $ */ +/* $NetBSD: clockctl.c,v 1.22 2007/05/12 20:27:13 dsl Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: clockctl.c,v 1.21 2007/03/04 06:01:41 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: clockctl.c,v 1.22 2007/05/12 20:27:13 dsl Exp $"); #include "opt_ntp.h" @@ -83,7 +83,7 @@ clockctlioctl( struct clockctl_settimeofday *args = (struct clockctl_settimeofday *)data; - error = settimeofday1(args->tv, args->tzp, l->l_proc); + error = settimeofday1(args->tv, true, args->tzp, l, false); if (error) return (error); break; |
