public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ec8981
)
netd: clock types are 32bit
author
Alan Cox
<alan@linux.intel.com>
Wed, 8 Nov 2017 23:30:29 +0000
(23:30 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Wed, 8 Nov 2017 23:30:29 +0000
(23:30 +0000)
Fixes the crash at startup
Applications/netd/clock-arch.c
patch
|
blob
|
history
diff --git
a/Applications/netd/clock-arch.c
b/Applications/netd/clock-arch.c
index
26ade45
..
9fc20a6
100644
(file)
--- a/
Applications/netd/clock-arch.c
+++ b/
Applications/netd/clock-arch.c
@@
-47,8
+47,8
@@
clock_time_t
clock_time(void)
{
struct{
- uint
16
_t high;
- uint
16
_t low;
+ uint
32
_t high;
+ uint
32
_t low;
}now;
_time((__ktime_t *)&now,1);
/* FIXME: needs a multiplier to turn into ms FIXME */