summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/devices/ttydev
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-10-08 01:32:17 +0000
committergVisor bot <gvisor-bot@google.com>2020-10-08 01:32:17 +0000
commit8f70c8003e9d132fc766ed7d92ce805c093d518b (patch)
tree6d77a3246e3f04605790d410e7630cb910704ced /pkg/sentry/devices/ttydev
parent8f9d99c812b7599c52ed98f80c1a33717758a5c6 (diff)
parenta55bd73d4802112a7055de8663e947b9c0f42a2e (diff)
Merge release-20200928.0-66-ga55bd73d4 (automated)
Diffstat (limited to 'pkg/sentry/devices/ttydev')
-rw-r--r--pkg/sentry/devices/ttydev/ttydev_state_autogen.go14
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() {