summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_error.c
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2015-03-25 04:56:21 +0100
committerDave Chinner <david@fromorbit.com>2015-03-25 04:56:21 +0100
commit65dd297ac25565701fead5e4ee69b9ca62729f0e (patch)
tree2d500028f2328edbe7d0da5aac48a70db48a9736 /fs/xfs/xfs_error.c
parentxfs: fix shadow warning in xfs_da3_root_split() (diff)
downloadlinux-65dd297ac25565701fead5e4ee69b9ca62729f0e.tar.xz
linux-65dd297ac25565701fead5e4ee69b9ca62729f0e.zip
xfs: %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> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_error.c')
-rw-r--r--fs/xfs/xfs_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_error.c b/fs/xfs/xfs_error.c
index 3ee186ac1093..338e50bbfd1e 100644
--- a/fs/xfs/xfs_error.c
+++ b/fs/xfs/xfs_error.c
@@ -131,7 +131,7 @@ xfs_error_report(
{
if (level <= xfs_error_level) {
xfs_alert_tag(mp, XFS_PTAG_ERROR_REPORT,
- "Internal error %s at line %d of file %s. Caller %pF",
+ "Internal error %s at line %d of file %s. Caller %pS",
tag, linenum, filename, ra);
xfs_stack_trace();