summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/timekeeper_state.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/kernel/timekeeper_state.go')
-rw-r--r--pkg/sentry/kernel/timekeeper_state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/kernel/timekeeper_state.go b/pkg/sentry/kernel/timekeeper_state.go
index aee983ac7..2e7fed4d8 100644
--- a/pkg/sentry/kernel/timekeeper_state.go
+++ b/pkg/sentry/kernel/timekeeper_state.go
@@ -37,5 +37,5 @@ func (t *Timekeeper) beforeSave() {
// afterLoad is invoked by stateify.
func (t *Timekeeper) afterLoad() {
- t.restored = true
+ t.restored = make(chan struct{})
}