From 1336cb4238ff147e729d308d5287090c83b537af Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 18 Jun 2016 05:01:00 -0400 Subject: fix a package name in an error message --- proto/io.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/io.go b/proto/io.go index ba8c8d0..ba54f75 100644 --- a/proto/io.go +++ b/proto/io.go @@ -177,7 +177,7 @@ func Read(fd io.Reader, data interface{}) { p := reflect.ValueOf(data) v := reflect.Indirect(p) if p == v || v.Kind() != reflect.Struct { - panic(fmt.Sprintf("The argument to nslcd_proto/internal.Read() must be a pointer: %T ( %#v )", data, data)) + panic(fmt.Sprintf("The argument to nslcd_proto.Read() must be a pointer: %T ( %#v )", data, data)) } for i, n := 0, v.NumField(); i < n; i++ { Read(fd, v.Field(i).Addr().Interface()) -- cgit v1.2.3