From 93aa3545f75c99a3387d4ddb192297db0230e40d Mon Sep 17 00:00:00 2001 From: Konstantin Osipov <kostja@tarantool.org> Date: Tue, 9 Dec 2014 15:12:26 +0300 Subject: [PATCH] Increase process title buffer to 256 bytes (upon a request from oloremo) --- src/tarantool.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tarantool.cc b/src/tarantool.cc index 28393050b2..f114afbe96 100644 --- a/src/tarantool.cc +++ b/src/tarantool.cc @@ -115,7 +115,7 @@ title(const char *role, const char *fmt, ...) (void) role; va_list ap; - char buf[128], *bufptr = buf, *bufend = buf + sizeof(buf); + char buf[256], *bufptr = buf, *bufend = buf + sizeof(buf); char *statusptr = status, *statusend = status + sizeof(status); statusptr += snprintf(statusptr, statusend - statusptr, "%s", role); bufptr += snprintf(bufptr, bufend - bufptr, "%s%s", role, -- GitLab