]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/ocfs2/ocfs2_fs.h
HID: Push down BKL into ioctl handler in hidraw
[linux-2.6-omap-h63xx.git] / fs / ocfs2 / ocfs2_fs.h
index 52c426665154312cb0d7c812bed5f0b928a8e62d..3f1945177629d7cdbfc84779cb37536d38e9dff5 100644 (file)
@@ -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,