Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/dev/ic/icp.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/dev/ic/icp.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.18.2.1 retrieving revision 1.19 diff -u -p -r1.18.2.1 -r1.19 --- src/sys/dev/ic/icp.c 2006/09/09 02:50:02 1.18.2.1 +++ src/sys/dev/ic/icp.c 2006/03/28 17:38:30 1.19 @@ -1,4 +1,4 @@ -/* $NetBSD: icp.c,v 1.18.2.1 2006/09/09 02:50:02 rpaulo Exp $ */ +/* $NetBSD: icp.c,v 1.19 2006/03/28 17:38:30 thorpej Exp $ */ /*- * Copyright (c) 2002, 2003 The NetBSD Foundation, Inc. @@ -83,7 +83,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: icp.c,v 1.18.2.1 2006/09/09 02:50:02 rpaulo Exp $"); +__KERNEL_RCSID(0, "$NetBSD: icp.c,v 1.19 2006/03/28 17:38:30 thorpej Exp $"); #include #include @@ -1323,7 +1323,7 @@ icp_store_event(struct icp_softc *icp, u (evt->size == 0 && e->event_data.size == 0 && strcmp((char *) e->event_data.event_string, (char *) evt->event_string) == 0))) { - e->last_stamp = time_second; + e->last_stamp = time.tv_sec; e->same_count++; } else { if (icp_event_buffer[icp_event_lastidx].event_source != 0) { @@ -1339,7 +1339,7 @@ icp_store_event(struct icp_softc *icp, u e = &icp_event_buffer[icp_event_lastidx]; e->event_source = source; e->event_idx = idx; - e->first_stamp = e->last_stamp = time_second; + e->first_stamp = e->last_stamp = time.tv_sec; e->same_count = 1; e->event_data = *evt; e->application = 0;