Make a panic less misleading.
This commit is contained in:
parent
f2ddd13ad2
commit
bdb8855550
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76130
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user