lkml.org 
[lkml]   [2016]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subjectv4.4-rc8: compile warning in scripts/recordmcount.c
From
vmlinux: scripts/recordmcount.c: In function ‘main’:
vmlinux: scripts/recordmcount.c:589:4: warning: format not a string
literal and no format arguments [-Wformat-security]
vmlinux: sprintf("%s: failed\n", file);

Introduced by commit:
commit a50bd43935586420fb75f4558369eb08566fac5e
Author: Steven Rostedt (Red Hat) <rostedt@goodmis.org>
Date: Tue Dec 15 16:06:10 2015 -0500

ftrace/scripts: Have recordmcount copy the object file


Should that sprintf() be converted to fprintf(stderr, ...) instead?


\
 
 \ /
  Last update: 2016-01-04 22:01    [W:0.067 / U:0.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site