Module Name:    src
Committed By:   dogcow
Date:           Wed Apr  1 03:06:06 UTC 2009

Modified Files:
        src/sys/compat/osf1: osf1_generic.c

Log Message:
fix what looks like a mechanical stuffup in the timeval -> timespec conversion.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/compat/osf1/osf1_generic.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/osf1/osf1_generic.c
diff -u src/sys/compat/osf1/osf1_generic.c:1.14 src/sys/compat/osf1/osf1_generic.c:1.15
--- src/sys/compat/osf1/osf1_generic.c:1.14	Sun Mar 29 19:21:19 2009
+++ src/sys/compat/osf1/osf1_generic.c	Wed Apr  1 03:06:06 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: osf1_generic.c,v 1.14 2009/03/29 19:21:19 christos Exp $ */
+/* $NetBSD: osf1_generic.c,v 1.15 2009/04/01 03:06:06 dogcow Exp $ */
 
 /*
  * Copyright (c) 1999 Christopher G. Demetriou.  All rights reserved.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: osf1_generic.c,v 1.14 2009/03/29 19:21:19 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: osf1_generic.c,v 1.15 2009/04/01 03:06:06 dogcow Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -173,9 +173,9 @@
 
 		ats.tv_sec = otv.tv_sec;
 		ats.tv_nsec = otv.tv_usec * 1000;
-		ts = &atv;
+		ts = &ats;
 	}
 
 	return selcommon(l, retval, SCARG(uap, nd), SCARG(uap, in),
-	    SCARG(uap, ou), SCARG(uap, ex), tsp, NULL);
+	    SCARG(uap, ou), SCARG(uap, ex), ts, NULL);
 }

Reply via email to