Skip to content

Commit

Permalink
ncpfs/inode.c: fix mismatch printk formats and arguments
Browse files Browse the repository at this point in the history
Conversions to ncp_dbg showed some format/argument mismatches so fix
them.

Signed-off-by: Joe Perches <[email protected]>
Cc: Petr Vandrovec <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
JoePerches authored and torvalds committed Apr 8, 2014
1 parent 485b47f commit 15a03ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/ncpfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ static int ncp_fill_super(struct super_block *sb, void *raw_data, int silent)
ncp_unlock_server(server);
if (error < 0)
goto out_rxbuf;
ncp_dbg(1, "NCP_SBP(sb) = %x\n", (int) NCP_SBP(sb));
ncp_dbg(1, "NCP_SBP(sb) = %p\n", NCP_SBP(sb));

error = -EMSGSIZE; /* -EREMOTESIDEINCOMPATIBLE */
#ifdef CONFIG_NCPFS_PACKET_SIGNING
Expand Down Expand Up @@ -986,7 +986,7 @@ int ncp_notify_change(struct dentry *dentry, struct iattr *attr)
if ((attr->ia_valid & ATTR_SIZE) != 0) {
int written;

ncp_dbg(1, "trying to change size to %ld\n", attr->ia_size);
ncp_dbg(1, "trying to change size to %llu\n", attr->ia_size);

if ((result = ncp_make_open(inode, O_WRONLY)) < 0) {
result = -EACCES;
Expand Down

0 comments on commit 15a03ac

Please sign in to comment.