Hi tech@

While building a kernel with option DEBUG to try to hunt down my issue with the Libretto 70CT (PR 6052) I came across the following typos which prevented the build:

sys/arch/i386/i386/trap.c

--- trap.c      Wed Jul 14 00:55:31 2010
+++ mytrap.c    Wed Jul 14 00:44:26 2010
@@ -173,7 +173,7 @@
 #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->tf_eip,
                    frame->tf_cs, frame->tf_eflags, rcr2(), lapic_tpr);
                printf("curproc %p\n", curproc);
        }

and in sys/kern/dma_alloc.c

--- dma_alloc.c Wed Jul 14 01:05:14 2010
+++ my_dma_alloc.c      Wed Jul 14 00:26:56 2010
@@ -49,7 +49,7 @@
                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);
 }

Thanks

Fred

Reply via email to