summaryrefslogtreecommitdiffstats
path: root/fs/jfs/super.c
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2015-03-11 22:13:54 -0500
committerDave Kleikamp <dave.kleikamp@oracle.com>2015-03-12 12:32:19 -0500
commit7d2ac45611b072a24e5014a56a65e6be31c1f884 (patch)
tree6fdfee64197ad1f829527b947ef49a2294437a4e /fs/jfs/super.c
parent09d35919b06e8508b51ee8a643a67b56f7bea0dd (diff)
downloadlinux-stable-7d2ac45611b072a24e5014a56a65e6be31c1f884.tar.gz
linux-stable-7d2ac45611b072a24e5014a56a65e6be31c1f884.tar.bz2
linux-stable-7d2ac45611b072a24e5014a56a65e6be31c1f884.zip
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 <scottwood@freescale.com> Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com> Cc: jfs-discussion@lists.sourceforge.net
Diffstat (limited to 'fs/jfs/super.c')
-rw-r--r--fs/jfs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jfs/super.c b/fs/jfs/super.c
index 5d30c56ae075..4cd9798f4948 100644
--- a/fs/jfs/super.c
+++ b/fs/jfs/super.c
@@ -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);