Module Name:    src
Committed By:   tsutsui
Date:           Sat May  9 12:44:30 UTC 2009

Modified Files:
        src/sys/arch/hp700/dev: pdc.c

Log Message:
Fix a botch in rev 1.29: return error properly from pdcgettod().


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/hp700/dev/pdc.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/arch/hp700/dev/pdc.c
diff -u src/sys/arch/hp700/dev/pdc.c:1.30 src/sys/arch/hp700/dev/pdc.c:1.31
--- src/sys/arch/hp700/dev/pdc.c:1.30	Sat May  9 12:04:11 2009
+++ src/sys/arch/hp700/dev/pdc.c	Sat May  9 12:44:30 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: pdc.c,v 1.30 2009/05/09 12:04:11 skrll Exp $	*/
+/*	$NetBSD: pdc.c,v 1.31 2009/05/09 12:44:30 tsutsui Exp $	*/
 
 /*	$OpenBSD: pdc.c,v 1.14 2001/04/29 21:05:43 mickey Exp $	*/
 
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pdc.c,v 1.30 2009/05/09 12:04:11 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pdc.c,v 1.31 2009/05/09 12:44:30 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -466,7 +466,7 @@
 		tvp->tv_sec = tod.sec;
 		tvp->tv_usec = tod.usec;
 	}
-	return 0;
+	return error;
 }
 
 static int

Reply via email to