diff options
author | Scott Wood <scottwood@freescale.com> | 2015-03-25 04:56:21 +0100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-03-25 04:56:21 +0100 |
commit | 65dd297ac25565701fead5e4ee69b9ca62729f0e (patch) | |
tree | 2d500028f2328edbe7d0da5aac48a70db48a9736 /fs/xfs/xfs_error.c | |
parent | xfs: fix shadow warning in xfs_da3_root_split() (diff) | |
download | linux-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.c | 2 |
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(); |