Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Per suggestion from christos@, make both timestamp f...



details:   https://anonhg.NetBSD.org/src/rev/d3f87c5761a8
branches:  trunk
changeset: 820228:d3f87c5761a8
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Wed Jan 04 01:52:13 2017 +0000

description:
Per suggestion from christos@, make both timestamp fields 64-bits wide.

diffstat:

 sys/sys/kernhist.h |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (21 lines):

diff -r 0f71a3f76038 -r d3f87c5761a8 sys/sys/kernhist.h
--- a/sys/sys/kernhist.h        Wed Jan 04 01:29:18 2017 +0000
+++ b/sys/sys/kernhist.h        Wed Jan 04 01:52:13 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kernhist.h,v 1.15 2017/01/04 01:05:58 pgoyette Exp $   */
+/*     $NetBSD: kernhist.h,v 1.16 2017/01/04 01:52:13 pgoyette Exp $   */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -80,9 +80,8 @@
 
 /* info for a single history event */
 struct sysctl_history_event {
-       time_t          she_time_sec;
-       uint32_t        she_time_usec;
-       uint32_t        she_filler;
+       uint64_t        she_time_sec;
+       uint64_t        she_time_usec;
        uint64_t        she_callnumber;
        uint64_t        she_values[4];
        uint32_t        she_cpunum;



Home | Main Index | Thread Index | Old Index