summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/mach-pb1x00
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2008-06-13 07:39:18 +0200
committerMark Fasheh <mfasheh@suse.com>2008-07-14 22:57:15 +0200
commitfe9f387740ac7cb3b7c2fffa76807e997e6c6292 (patch)
tree40c052c3ace5e07980c01aa5c4ea5d2d0df9638b /include/asm-mips/mach-pb1x00
parentocfs2: Fix CONFIG_OCFS2_DEBUG_FS #ifdefs (diff)
downloadlinux-fe9f387740ac7cb3b7c2fffa76807e997e6c6292.tar.xz
linux-fe9f387740ac7cb3b7c2fffa76807e997e6c6292.zip
ocfs2: Don't snprintf() without a format.
Some system files are per-slot. Their names include the slot number. ocfs2_sprintf_system_inode_name() uses the system inode definitions to fill in the slot number with snprintf(). For global system files, there is no node number, and the name was printed as a format with no arguments. -Wformat-nonliteral and -Wformat-security don't like this. Instead, use a static "%s" format and the name as the argument. Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'include/asm-mips/mach-pb1x00')
0 files changed, 0 insertions, 0 deletions