jfs: %pf is only for function pointers

Use %ps for actual addresses, otherwise you'll get bad output
on arches like ppc64 where %pf expects a function descriptor.

Signed-off-by: Scott Wood <[email protected]>
Signed-off-by: Dave Kleikamp <[email protected]>
Cc: [email protected]
This commit is contained in:
Scott Wood 2015-03-11 22:13:54 -05:00 • committed by Dave Kleikamp
commit 7d2ac45611

View file

@ -102,7 +102,7 @@ void jfs_error(struct super_block *sb, const char *fmt, ...)
vaf.fmt = fmt;
vaf.va = &args;
pr_err("ERROR: (device %s): %pf: %pV\n",
pr_err("ERROR: (device %s): %ps: %pV\n",
sb->s_id, __builtin_return_address(0), &vaf);
va_end(args);