summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/i386/trap.c4
-rw-r--r--sys/kern/dma_alloc.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/i386/i386/trap.c b/sys/arch/i386/i386/trap.c
index 4170dd3794e..9e17f3c2cdf 100644
--- a/sys/arch/i386/i386/trap.c
+++ b/sys/arch/i386/i386/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.92 2010/07/05 22:20:22 tedu Exp $ */
+/* $OpenBSD: trap.c,v 1.93 2010/07/14 00:15:27 deraadt Exp $ */
/* $NetBSD: trap.c,v 1.95 1996/05/05 06:50:02 mycroft Exp $ */
/*-
@@ -173,7 +173,7 @@ trap(struct trapframe *frame)
#ifdef DEBUG
if (trapdebug) {
printf("trap %d code %x eip %x cs %x eflags %x cr2 %x cpl %x\n",
- frame->tf_trapno, frame->tf_err, frame.->f_eip,
+ frame->tf_trapno, frame->tf_err, frame->f_eip,
frame->tf_cs, frame->tf_eflags, rcr2(), lapic_tpr);
printf("curproc %p\n", curproc);
}
diff --git a/sys/kern/dma_alloc.c b/sys/kern/dma_alloc.c
index 7c61f906ffd..d24cf1a2a33 100644
--- a/sys/kern/dma_alloc.c
+++ b/sys/kern/dma_alloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dma_alloc.c,v 1.1 2010/07/13 16:47:03 deraadt Exp $ */
+/* $OpenBSD: dma_alloc.c,v 1.2 2010/07/14 00:15:07 deraadt Exp $ */
/*
* Copyright (c) 2010 Theo de Raadt <deraadt@openbsd.org>
*
@@ -49,7 +49,7 @@ dma_alloc_index(size_t sz)
if (sz <= (1 << (b + DMA_BUCKET_OFFSET)))
return (b);
#ifdef DEBUG
- printf("dma_alloc/free: object %d too large\n", sz)
+ printf("dma_alloc/free: object %d too large\n", sz);
#endif
return (-1);
}