diff --git a/fs/coda/dir.c b/fs/coda/dir.c index 00876ddadb43021396c9c2f010fa2c4fa2e90cd1..7e103eb8ffcd637490d32ce50919f1c3325eb7cb 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 int type = 0; if (length > CODA_MAXNAMLEN) { - pr_err("name too long: lookup, %s (%*s)\n", - coda_i2s(dir), (int)length, name); + pr_err("name too long: lookup, %s %zu\n", + coda_i2s(dir), length); return ERR_PTR(-ENAMETOOLONG); }