summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--proto/io.go2
1 files changed, 1 insertions, 1 deletions
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())