RE: [infiniband-diags PATCH] rdma-ndd: fix compiler warnings.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> This patch fixes -Wformat-security warnings, that in Debian (and Ubuntu) are
> enabled by default:
> 
> src/rdma-ndd.c: In function 'update_node_desc':
> src/rdma-ndd.c:149:3: error: format not a string literal and no format
> arguments [-Werror=format-security]
>    fprintf(f, new_nd);
>    ^
> src/rdma-ndd.c: In function 'udev_log_fn':
> src/rdma-ndd.c:247:2: error: format not a string literal and no format
> arguments [-Werror=format-security]
>   syslog(LOG_ERR, msg);
> 
> Signed-off-by: Ana Guerrero López <ana@xxxxxxxxx>

Thanks applied,
Ira

��.n��������+%������w��{.n�����{���fk��ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux