diff options
| author | perry <perry@NetBSD.org> | 2005-02-27 00:26:58 +0000 |
|---|---|---|
| committer | perry <perry@NetBSD.org> | 2005-02-27 00:26:58 +0000 |
| commit | f31bd063e99a4029f1bf9dac360c83c605ab8ba4 (patch) | |
| tree | d06e6ea6eebeb4af06272dd4f675871761a5c024 /sys/dev/clockctl.c | |
| parent | 5b0739524b9b827c78dadf2f4d675f74670bf688 (diff) | |
nuke trailing whitespace
Diffstat (limited to 'sys/dev/clockctl.c')
| -rw-r--r-- | sys/dev/clockctl.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/dev/clockctl.c b/sys/dev/clockctl.c index dd92dbc4839..40d73515793 100644 --- a/sys/dev/clockctl.c +++ b/sys/dev/clockctl.c @@ -1,4 +1,4 @@ -/* $NetBSD: clockctl.c,v 1.12 2003/06/29 22:29:58 fvdl Exp $ */ +/* $NetBSD: clockctl.c,v 1.13 2005/02/27 00:26:58 perry Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: clockctl.c,v 1.12 2003/06/29 22:29:58 fvdl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: clockctl.c,v 1.13 2005/02/27 00:26:58 perry Exp $"); #include "opt_ntp.h" @@ -77,36 +77,36 @@ clockctlioctl(dev, cmd, data, flags, p) struct proc *p; { int error = 0; - + switch (cmd) { case CLOCKCTL_SETTIMEOFDAY: { struct sys_settimeofday_args *args = (struct sys_settimeofday_args *)data; - error = settimeofday1(SCARG(args, tv), + error = settimeofday1(SCARG(args, tv), SCARG(args, tzp), p); if (error) return (error); break; } case CLOCKCTL_ADJTIME: { - struct sys_adjtime_args *args = + struct sys_adjtime_args *args = (struct sys_adjtime_args *)data; - error = adjtime1(SCARG(args, delta), + error = adjtime1(SCARG(args, delta), SCARG(args, olddelta), p); if (error) - return (error); + return (error); break; } case CLOCKCTL_CLOCK_SETTIME: { - struct sys_clock_settime_args *args = + struct sys_clock_settime_args *args = (struct sys_clock_settime_args *)data; - error = clock_settime1(SCARG(args, clock_id), + error = clock_settime1(SCARG(args, clock_id), SCARG(args, tp)); if (error) - return (error); + return (error); break; } #ifdef NTP @@ -115,7 +115,7 @@ clockctlioctl(dev, cmd, data, flags, p) (struct clockctl_ntp_adjtime_args *)data; struct timex ntv; - error = copyin((caddr_t)SCARG(args,uas.tp), + error = copyin((caddr_t)SCARG(args,uas.tp), (caddr_t)&ntv, sizeof(ntv)); if (error) return (error); |
