summaryrefslogtreecommitdiffhomepage
path: root/src/go/unit/nxt_cgo_lib.c
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/nxt_cgo_lib.c
parentcb1b0744930801b6e06d05f788c3e7cb40163167 (diff)
downloadunit-c8b30ef4da02278308e0ed050d9a937134a6aa45.tar.gz
unit-c8b30ef4da02278308e0ed050d9a937134a6aa45.tar.bz2
Go: fixing typo in log messages.
Diffstat (limited to 'src/go/unit/nxt_cgo_lib.c')
-rw-r--r--src/go/unit/nxt_cgo_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/go/unit/nxt_cgo_lib.c b/src/go/unit/nxt_cgo_lib.c
index 9c080730..172bef88 100644
--- a/src/go/unit/nxt_cgo_lib.c
+++ b/src/go/unit/nxt_cgo_lib.c
@@ -203,5 +203,5 @@ nxt_cgo_request_done(uintptr_t req, int res)
void
nxt_cgo_warn(uintptr_t msg, uint32_t msg_len)
{
- nxt_unit_warn(NULL, ".*s", (int) msg_len, (char *) msg);
+ nxt_unit_warn(NULL, "%.*s", (int) msg_len, (char *) msg);
}