diff options
Diffstat (limited to 'pkg/sentry/devices/ttydev')
-rw-r--r-- | pkg/sentry/devices/ttydev/ttydev_state_autogen.go | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pkg/sentry/devices/ttydev/ttydev_state_autogen.go b/pkg/sentry/devices/ttydev/ttydev_state_autogen.go index 9883dcf08..3389b37f3 100644 --- a/pkg/sentry/devices/ttydev/ttydev_state_autogen.go +++ b/pkg/sentry/devices/ttydev/ttydev_state_autogen.go @@ -6,23 +6,23 @@ import ( "gvisor.dev/gvisor/pkg/state" ) -func (x *ttyDevice) StateTypeName() string { +func (t *ttyDevice) StateTypeName() string { return "pkg/sentry/devices/ttydev.ttyDevice" } -func (x *ttyDevice) StateFields() []string { +func (t *ttyDevice) StateFields() []string { return []string{} } -func (x *ttyDevice) beforeSave() {} +func (t *ttyDevice) beforeSave() {} -func (x *ttyDevice) StateSave(m state.Sink) { - x.beforeSave() +func (t *ttyDevice) StateSave(stateSinkObject state.Sink) { + t.beforeSave() } -func (x *ttyDevice) afterLoad() {} +func (t *ttyDevice) afterLoad() {} -func (x *ttyDevice) StateLoad(m state.Source) { +func (t *ttyDevice) StateLoad(stateSourceObject state.Source) { } func init() { |