diff options
author | Eric Sandeen <sandeen@redhat.com> | 2014-02-27 15:21:37 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-02-27 15:21:37 +1100 |
commit | db9355c296eb71271bb3807ad4a9d43f6b3c35d3 (patch) | |
tree | 654bd7b6f0fbd0c72dd448f59f5719ae261ec73c /fs/xfs/xfs_error.c | |
parent | ca23f8fdd6a0dd37b3909ce7709c491f0c26399d (diff) | |
download | linux-db9355c296eb71271bb3807ad4a9d43f6b3c35d3.tar.bz2 |
xfs: print useful caller information in xfs_error_report
xfs_error_report used to just print the hex address of the caller;
%pF will give us something more human-readable.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Jie Liu <jeff.liu@oracle.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 a8b2ecb5f436..edac5b057d28 100644 --- a/fs/xfs/xfs_error.c +++ b/fs/xfs/xfs_error.c @@ -156,7 +156,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 0x%p", + "Internal error %s at line %d of file %s. Caller %pF", tag, linenum, filename, ra); xfs_stack_trace(); |