mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-27 05:17:35 +00:00
STATS: increase the space for application names
Signed-off-by: Angus Salkeld <asalkeld@redhat.com> Reviewed-by: Seven Dake <sdake@redhat.com>
This commit is contained in:
parent
fbbb3f01cb
commit
4da371f4f7
@ -1545,8 +1545,8 @@ static char * pid_to_name (pid_t pid, char *out_name, size_t name_len)
|
||||
static void coroipcs_init_conn_stats (
|
||||
struct conn_info *conn)
|
||||
{
|
||||
char conn_name[42];
|
||||
char proc_name[32];
|
||||
char conn_name[CS_MAX_NAME_LENGTH];
|
||||
char proc_name[CS_MAX_NAME_LENGTH];
|
||||
|
||||
if (conn->client_pid > 0) {
|
||||
if (pid_to_name (conn->client_pid, proc_name, sizeof(proc_name)))
|
||||
|
Loading…
Reference in New Issue
Block a user