projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ocfs2: Don't snprintf() without a format.
[cascardo/linux.git]
/
fs
/
ocfs2
/
ocfs2_fs.h
diff --git
a/fs/ocfs2/ocfs2_fs.h
b/fs/ocfs2/ocfs2_fs.h
index
52c4266
..
3f19451
100644
(file)
--- a/
fs/ocfs2/ocfs2_fs.h
+++ b/
fs/ocfs2/ocfs2_fs.h
@@
-901,7
+901,7
@@
static inline int ocfs2_sprintf_system_inode_name(char *buf, int len,
* list has a copy per slot.
*/
if (type <= OCFS2_LAST_GLOBAL_SYSTEM_INODE)
- chars = snprintf(buf, len,
+ chars = snprintf(buf, len,
"%s",
ocfs2_system_inodes[type].si_name);
else
chars = snprintf(buf, len,