summaryrefslogtreecommitdiffhomepage
path: root/src/go/unit/port.go
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2018-10-02 19:49:48 +0300
committerMax Romanov <max.romanov@nginx.com>2018-10-02 19:49:48 +0300
commitc8b30ef4da02278308e0ed050d9a937134a6aa45 (patch)
treef806e02809310a137848598b5a3b0003050e8237 /src/go/unit/port.go
parentcb1b0744930801b6e06d05f788c3e7cb40163167 (diff)
downloadunit-c8b30ef4da02278308e0ed050d9a937134a6aa45.tar.gz
unit-c8b30ef4da02278308e0ed050d9a937134a6aa45.tar.bz2
Go: fixing typo in log messages.
Diffstat (limited to '')
-rw-r--r--src/go/unit/port.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/go/unit/port.go b/src/go/unit/port.go
index f716c9ec..a68cae74 100644
--- a/src/go/unit/port.go
+++ b/src/go/unit/port.go
@@ -163,7 +163,7 @@ func nxt_go_port_recv(pid C.int, id C.int, buf unsafe.Pointer, buf_size C.int,
GoBytes(oob, oob_size))
if err != nil {
- nxt_go_warn("write result %d (%d), %s", n, oobn, err)
+ nxt_go_warn("read result %d (%d), %s", n, oobn, err)
}
return C.ssize_t(n)