On 01/11/2011 10:24 PM, Angus Salkeld wrote:
> Signed-off-by: Angus Salkeld <[email protected]>
> ---
>  exec/coroipcs.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/exec/coroipcs.c b/exec/coroipcs.c
> index 703802a..1897231 100644
> --- a/exec/coroipcs.c
> +++ b/exec/coroipcs.c
> @@ -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)))


Reviewed-by: Seven Dake <[email protected]>
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to