summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/coda/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/coda/dir.c b/fs/coda/dir.c
index 00876ddadb43..7e103eb8ffcd 100644
--- a/fs/coda/dir.c
+++ b/fs/coda/dir.c
@@ -47,8 +47,8 @@ static struct dentry *coda_lookup(struct inode *dir, struct dentry *entry, unsig
47 int type = 0; 47 int type = 0;
48 48
49 if (length > CODA_MAXNAMLEN) { 49 if (length > CODA_MAXNAMLEN) {
50 pr_err("name too long: lookup, %s (%*s)\n", 50 pr_err("name too long: lookup, %s %zu\n",
51 coda_i2s(dir), (int)length, name); 51 coda_i2s(dir), length);
52 return ERR_PTR(-ENAMETOOLONG); 52 return ERR_PTR(-ENAMETOOLONG);
53 } 53 }
54 54