Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Misplaced parenthesis; fixes PR 44927



details:   https://anonhg.NetBSD.org/src/rev/360f0153d757
branches:  trunk
changeset: 778341:360f0153d757
user:      dholland <dholland%NetBSD.org@localhost>
date:      Thu Mar 22 17:46:07 2012 +0000

description:
Misplaced parenthesis; fixes PR 44927

diffstat:

 sys/kern/kern_time.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7cad6958cf08 -r 360f0153d757 sys/kern/kern_time.c
--- a/sys/kern/kern_time.c      Thu Mar 22 17:32:21 2012 +0000
+++ b/sys/kern/kern_time.c      Thu Mar 22 17:46:07 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_time.c,v 1.173 2012/02/20 01:12:42 rmind Exp $    */
+/*     $NetBSD: kern_time.c,v 1.174 2012/03/22 17:46:07 dholland Exp $ */
 
 /*-
  * Copyright (c) 2000, 2004, 2005, 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_time.c,v 1.173 2012/02/20 01:12:42 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_time.c,v 1.174 2012/03/22 17:46:07 dholland Exp $");
 
 #include <sys/param.h>
 #include <sys/resourcevar.h>
@@ -1063,7 +1063,7 @@
                return (EINVAL);
        itvp = SCARG(uap, itv);
        if (itvp &&
-           (error = copyin(itvp, &aitv, sizeof(struct itimerval)) != 0))
+           (error = copyin(itvp, &aitv, sizeof(struct itimerval))) != 0)
                return (error);
        if (SCARG(uap, oitv) != NULL) {
                SCARG(&getargs, which) = which;



Home | Main Index | Thread Index | Old Index