> 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 <[email protected]>

Thanks applied,
Ira

Reply via email to