diff options
| author | Kris Kennaway <kris@FreeBSD.org> | 2006-05-28 22:15:28 +0000 |
|---|---|---|
| committer | Kris Kennaway <kris@FreeBSD.org> | 2006-05-28 22:15:28 +0000 |
| commit | 80a8e5da948f29d7fdeca418d85f899e3d242b1b (patch) | |
| tree | 16c98841533242261456170a9a005d4811838093 | |
| parent | 3981b687c0c813a54220d0bacc8eb3057dd6f3f0 (diff) | |
Notes
| -rw-r--r-- | sys/kern/subr_stack.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/subr_stack.c b/sys/kern/subr_stack.c index 47dd2058d2a7..705c21baefdf 100644 --- a/sys/kern/subr_stack.c +++ b/sys/kern/subr_stack.c @@ -90,7 +90,7 @@ stack_print(struct stack *st) long offset; int i; - KASSERT(st->depth <= STACK_MAX, ("bogous stack")); + KASSERT(st->depth <= STACK_MAX, ("bogus stack")); for (i = 0; i < st->depth; i++) { stack_symbol(st->pcs[i], &name, &offset); printf("#%d %p at %s+%#lx\n", i, (void *)st->pcs[i], @@ -105,7 +105,7 @@ stack_sbuf_print(struct sbuf *sb, struct stack *st) long offset; int i; - KASSERT(st->depth <= STACK_MAX, ("bogous stack")); + KASSERT(st->depth <= STACK_MAX, ("bogus stack")); for (i = 0; i < st->depth; i++) { stack_symbol(st->pcs[i], &name, &offset); sbuf_printf(sb, "#%d %p at %s+%#lx\n", i, (void *)st->pcs[i], @@ -122,7 +122,7 @@ stack_ktr(u_int mask, const char *file, int line, struct stack *st, u_int depth, long offset; int i; - KASSERT(st->depth <= STACK_MAX, ("bogous stack")); + KASSERT(st->depth <= STACK_MAX, ("bogus stack")); if (cheap) { ktr_tracepoint(mask, file, line, "#0 %p %p %p %p %p %p", st->pcs[0], st->pcs[1], st->pcs[2], st->pcs[3], |
