summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-18 05:01:00 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-18 05:01:00 -0400
commit1336cb4238ff147e729d308d5287090c83b537af (patch)
treedb6a9b7be7b646e5087132b8cd1210d86552aaf4 /proto
parent0491a2b79d8a4a823dbdfba1dd21aa9616b7ba70 (diff)
fix a package name in an error message
Diffstat (limited to 'proto')
-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())