Skip to content

Commit

Permalink
TRIVIAL: Fix assembly code indention
Browse files Browse the repository at this point in the history
  • Loading branch information
fako1024 committed Sep 7, 2023
1 parent 8b4a859 commit acb1eac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions event/poll_386.s
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ TEXT ·pollBlock(SB),NOSPLIT,$0-12
MOVL $0x0, DX // Put timeout parameter (set to NULL)
MOVL $0x0, SI // Put sigmask parameter (skip)
INVOKE_SYSCALL
CMPL AX, $0xfffff002 // No error / EINTR
CMPL AX, $0xfffff002 // No error / EINTR
JLS success // Jump to success
NEGL AX // Negate SYSCALL errno
NEGL AX // Negate SYSCALL errno
MOVL AX, err+8(FP) // Store error code in err return value
CALL runtime·exitsyscall(SB) // Finalize SYSCALL using the directive from runtime package
RET // Return
Expand Down

0 comments on commit acb1eac

Please sign in to comment.