Added version number to main process title.
@@ -381,7 +381,8 @@ nxt_main_process_title(nxt_task_t *task)
end = title + sizeof(title) - 1;
- p = nxt_sprintf(title, end, "unit: main [%s", nxt_process_argv[0]);
+ p = nxt_sprintf(title, end, "unit: main v" NXT_VERSION " [%s",
+ nxt_process_argv[0]);
for (i = 1; nxt_process_argv[i] != NULL; i++) {
p = nxt_sprintf(p, end, " %s", nxt_process_argv[i]);
