mirror of https://github.com/schoebel/mars
marsadm: fix lamport timestamp substitute when mars.ko is unloaded
This commit is contained in:
parent
95e2b9d8d0
commit
059abe866b
|
@ -185,7 +185,7 @@ sub mars_time {
|
||||||
$lamport_time = $1 if /^lamport_now=(.*)/;
|
$lamport_time = $1 if /^lamport_now=(.*)/;
|
||||||
}
|
}
|
||||||
close($lamport_clock);
|
close($lamport_clock);
|
||||||
return $lamport_time || time() . '0' x 9;
|
return $lamport_time || time() . "." . '0' x 9;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub sleep_timeout {
|
sub sleep_timeout {
|
||||||
|
|
Loading…
Reference in New Issue