summaryrefslogtreecommitdiffhomepage
path: root/tools/go_marshal
diff options
context:
space:
mode:
authorRidwan Sharif <ridwanmsharif@google.com>2020-08-19 20:11:59 -0400
committerAndrei Vagin <avagin@gmail.com>2020-09-11 13:35:25 -0700
commit0f2a8b08f13cc39d924c328bc7a9bab73c1c2328 (patch)
tree511869e6090717b68f2423a6e329a3a199e39d7d /tools/go_marshal
parenteccdd440899113c229f4abea53c03364d7f9875c (diff)
fuse: use safe go_marshal API for FUSE
Until #3698 is resolved, this change is needed to ensure we're not corrupting memory anywhere.
Diffstat (limited to 'tools/go_marshal')
-rw-r--r--tools/go_marshal/marshal/marshal_impl_util.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/go_marshal/marshal/marshal_impl_util.go b/tools/go_marshal/marshal/marshal_impl_util.go
index 89c7d3575..1724652f7 100644
--- a/tools/go_marshal/marshal/marshal_impl_util.go
+++ b/tools/go_marshal/marshal/marshal_impl_util.go
@@ -44,7 +44,7 @@ func (StubMarshallable) MarshalBytes(dst []byte) {
// UnmarshalBytes implements Marshallable.UnmarshalBytes.
func (StubMarshallable) UnmarshalBytes(src []byte) {
- panic("Please implement your own UnMarshalBytes function")
+ panic("Please implement your own UnmarshalBytes function")
}
// Packed implements Marshallable.Packed.