summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/loader
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/loader')
-rw-r--r--pkg/sentry/loader/loader_state_autogen.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/sentry/loader/loader_state_autogen.go b/pkg/sentry/loader/loader_state_autogen.go
index 7d001c54b..84f3fbb19 100644
--- a/pkg/sentry/loader/loader_state_autogen.go
+++ b/pkg/sentry/loader/loader_state_autogen.go
@@ -25,7 +25,8 @@ func (v *VDSO) beforeSave() {}
// +checklocksignore
func (v *VDSO) StateSave(stateSinkObject state.Sink) {
v.beforeSave()
- var phdrsValue []elfProgHeader = v.savePhdrs()
+ var phdrsValue []elfProgHeader
+ phdrsValue = v.savePhdrs()
stateSinkObject.SaveValue(4, phdrsValue)
stateSinkObject.Save(0, &v.ParamPage)
stateSinkObject.Save(1, &v.vdso)