Fixed a typo in syscall.c introduced in last commit.
authorPaul Pearce <pearce@eecs.berkeley.edu>
Sat, 13 Jun 2009 05:17:15 +0000 (22:17 -0700)
committerKevin Klues <klueska@eecs.berkeley.edu>
Wed, 1 Jul 2009 20:32:50 +0000 (13:32 -0700)
I accidently removed a definition instead of a debug statement before commiting before.

user/parlib/src/syscall.c

index c4f643b..5516845 100644 (file)
@@ -35,7 +35,8 @@ static intreg_t syscall_trap(uint16_t num, intreg_t a1,
                              intreg_t a2, intreg_t a3,
                              intreg_t a4, intreg_t a5)
 {
-       debug("duh!\n");
+       intreg_t ret;
+       
        // Generic system call: pass system call number in AX,
        // up to five parameters in DX, CX, BX, DI, SI.
        // Interrupt kernel with T_SYSCALL.