Make a panic less misleading.

This commit is contained in:
Poul-Henning Kamp 2001-04-29 11:45:15 +00:00
parent f2ddd13ad2
commit bdb8855550
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76130
2 changed files with 2 additions and 2 deletions

View File

@ -168,7 +168,7 @@ ext2_debug("ext2_balloc called (%d, %d, %d)\n",
return(error);
#if DIAGNOSTIC
if (num < 1)
panic ("ext2_balloc: ufs_bmaparray returned indirect block");
panic ("ext2_balloc: ufs_getlbns returned indirect block");
#endif
/*
* Fetch the first indirect block allocating if necessary.

View File

@ -168,7 +168,7 @@ ext2_debug("ext2_balloc called (%d, %d, %d)\n",
return(error);
#if DIAGNOSTIC
if (num < 1)
panic ("ext2_balloc: ufs_bmaparray returned indirect block");
panic ("ext2_balloc: ufs_getlbns returned indirect block");
#endif
/*
* Fetch the first indirect block allocating if necessary.