Mercurial > xfs_ino_scan
changeset 19:068a4a28bde6
display string-ified XFS_DINODE_FMT_* when unable to handle it
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> |
---|---|
date | Sat, 22 Mar 2008 18:46:11 -0400 |
parents | c515cc303bed |
children | 37c5b479dd15 |
files | ino_scan.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ino_scan.c Sat Mar 22 18:43:58 2008 -0400 +++ b/ino_scan.c Sat Mar 22 18:46:11 2008 -0400 @@ -262,8 +262,9 @@ process_btinode(inode); break; default: - printf(">> Unknown data fork format %d\n", - inode->di_core.di_format); + printf(">> Unable to process data fork format %d (%s)\n", + inode->di_core.di_format, + diformat_str(inode->di_core.di_format)); break; } }