diff options
author | Joe Perches <joe@perches.com> | 2014-04-08 19:04:18 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-08 19:48:53 -0400 |
commit | 15a03ac6f8eae619bbc211c5c698dba2b1a728b9 (patch) | |
tree | a226026f6ded12ec50c809d04f475e4a0447f376 /fs/ncpfs/inode.c | |
parent | 485b47f68cbc48288603d0c1bc1f99bf751b6205 (diff) |
ncpfs/inode.c: fix mismatch printk formats and arguments
Conversions to ncp_dbg showed some format/argument mismatches so fix
them.
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Petr Vandrovec <petr@vandrovec.name>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ncpfs/inode.c')
-rw-r--r-- | fs/ncpfs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ncpfs/inode.c b/fs/ncpfs/inode.c index f4c5bbafd73f..81b4f643ecef 100644 --- a/fs/ncpfs/inode.c +++ b/fs/ncpfs/inode.c | |||
@@ -683,7 +683,7 @@ static int ncp_fill_super(struct super_block *sb, void *raw_data, int silent) | |||
683 | ncp_unlock_server(server); | 683 | ncp_unlock_server(server); |
684 | if (error < 0) | 684 | if (error < 0) |
685 | goto out_rxbuf; | 685 | goto out_rxbuf; |
686 | ncp_dbg(1, "NCP_SBP(sb) = %x\n", (int) NCP_SBP(sb)); | 686 | ncp_dbg(1, "NCP_SBP(sb) = %p\n", NCP_SBP(sb)); |
687 | 687 | ||
688 | error = -EMSGSIZE; /* -EREMOTESIDEINCOMPATIBLE */ | 688 | error = -EMSGSIZE; /* -EREMOTESIDEINCOMPATIBLE */ |
689 | #ifdef CONFIG_NCPFS_PACKET_SIGNING | 689 | #ifdef CONFIG_NCPFS_PACKET_SIGNING |
@@ -986,7 +986,7 @@ int ncp_notify_change(struct dentry *dentry, struct iattr *attr) | |||
986 | if ((attr->ia_valid & ATTR_SIZE) != 0) { | 986 | if ((attr->ia_valid & ATTR_SIZE) != 0) { |
987 | int written; | 987 | int written; |
988 | 988 | ||
989 | ncp_dbg(1, "trying to change size to %ld\n", attr->ia_size); | 989 | ncp_dbg(1, "trying to change size to %llu\n", attr->ia_size); |
990 | 990 | ||
991 | if ((result = ncp_make_open(inode, O_WRONLY)) < 0) { | 991 | if ((result = ncp_make_open(inode, O_WRONLY)) < 0) { |
992 | result = -EACCES; | 992 | result = -EACCES; |