]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - fs/ecryptfs/file.c
fs/ecryptfs: Add printf format/argument verification and fix fallout
[mv-sheeva.git] / fs / ecryptfs / file.c
index e069e786da43a073c0233a13094bc723c292ed08..81e10e6a94438fefd4d155fc27cce3911bcea078 100644 (file)
@@ -241,9 +241,9 @@ static int ecryptfs_open(struct inode *inode, struct file *file)
                }
        }
        mutex_unlock(&crypt_stat->cs_mutex);
-       ecryptfs_printk(KERN_DEBUG, "inode w/ addr = [0x%p], i_ino = [0x%.16x] "
-                       "size: [0x%.16x]\n", inode, inode->i_ino,
-                       i_size_read(inode));
+       ecryptfs_printk(KERN_DEBUG, "inode w/ addr = [0x%p], i_ino = "
+                       "[0x%.16lx] size: [0x%.16llx]\n", inode, inode->i_ino,
+                       (unsigned long long)i_size_read(inode));
        goto out;
 out_free:
        kmem_cache_free(ecryptfs_file_info_cache,