Browse Source

Fix noted in syscall.

It was calling it with a stack argument, which is no longer needed.

testalarm works now.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Ronald G. Minnich 9 years ago
parent
commit
f211c24de6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sys/src/9/k10/syscall.c

+ 1 - 1
sys/src/9/k10/syscall.c

@@ -392,7 +392,7 @@ syscall(int badscallnr, Ureg *ureg)
 	m->externup->psstate = 0;
 
 	if(scallnr == NOTED)
-		noted(ureg, *(uintptr_t*)(sp+BY2SE));
+		noted(ureg, a0);
 
 	if (0) hi("now to splihi\n");
 	splhi();