[XFS] Add format checking to cmn_err and icmn_err
SGI-PV: 942243 SGI-Modid: xfs-linux:xfs-kern:198658a Signed-off-by: Christoph Hellwig <hch@sgi.com> Signed-off-by: Nathan Scott <nathans@sgi.com>
This commit is contained in:
committed by
Nathan Scott
parent
88741a95af
commit
da1650a5d6
@@ -318,7 +318,7 @@ xfs_mount_validate_sb(
|
||||
"XFS: Attempted to mount file system with blocksize %d bytes",
|
||||
sbp->sb_blocksize);
|
||||
cmn_err(CE_WARN,
|
||||
"XFS: Only page-sized (%d) or less blocksizes currently work.",
|
||||
"XFS: Only page-sized (%ld) or less blocksizes currently work.",
|
||||
PAGE_SIZE);
|
||||
return XFS_ERROR(ENOSYS);
|
||||
}
|
||||
|
Reference in New Issue
Block a user