Make cblock_alloc_cblocks() spell its own name

correctly in its warning message.

PR: kern/7693
This commit is contained in:
Yaroslav Tykhiy 2001-03-27 10:21:26 +00:00
parent 6c7d684cfe
commit ae5fa19aa9
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ cblock_alloc_cblocks(number)
cbp = malloc(sizeof *cbp, M_TTYS, M_NOWAIT);
if (cbp == NULL) {
printf(
"clist_alloc_cblocks: M_NOWAIT malloc failed, trying M_WAITOK\n");
"cblock_alloc_cblocks: M_NOWAIT malloc failed, trying M_WAITOK\n");
cbp = malloc(sizeof *cbp, M_TTYS, M_WAITOK);
}
/*

View File

@ -135,7 +135,7 @@ cblock_alloc_cblocks(number)
cbp = malloc(sizeof *cbp, M_TTYS, M_NOWAIT);
if (cbp == NULL) {
printf(
"clist_alloc_cblocks: M_NOWAIT malloc failed, trying M_WAITOK\n");
"cblock_alloc_cblocks: M_NOWAIT malloc failed, trying M_WAITOK\n");
cbp = malloc(sizeof *cbp, M_TTYS, M_WAITOK);
}
/*