Pass NULL as second argument to netbsd reboot syscall

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-01-20 11:12:45 +01:00
parent b5b6745c87
commit 69a30a6e8e
2 changed files with 2 additions and 8 deletions

View file

@ -78,7 +78,7 @@ _start:
/* shutdown. */
movl $SYSCALL_RESET, %eax
pushl $haltmsg
pushl $0
pushl $(RESET_POWEROFF|RESET_HALT|RESET_NOSYNC)
pushl $0
int $SYSCALL_INT
@ -107,9 +107,6 @@ device:
message:
.ascii "Boot Test Passed Successfully\n" SUCCESSFUL_BOOT_STRING "\n"
messageend:
haltmsg:
.ascii "Machine halted"
.byte 0
devfstype:
.ascii "tmpfs"
.byte 0