diff options
Diffstat (limited to 'pkg/sentry/memmap')
-rw-r--r-- | pkg/sentry/memmap/memmap_impl_state_autogen.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/sentry/memmap/memmap_impl_state_autogen.go b/pkg/sentry/memmap/memmap_impl_state_autogen.go index d65558bbe..02c96e66d 100644 --- a/pkg/sentry/memmap/memmap_impl_state_autogen.go +++ b/pkg/sentry/memmap/memmap_impl_state_autogen.go @@ -21,7 +21,8 @@ func (s *MappingSet) beforeSave() {} // +checklocksignore func (s *MappingSet) StateSave(stateSinkObject state.Sink) { s.beforeSave() - var rootValue *MappingSegmentDataSlices = s.saveRoot() + var rootValue *MappingSegmentDataSlices + rootValue = s.saveRoot() stateSinkObject.SaveValue(0, rootValue) } |