pedantic tweaks

This commit is contained in:
Tim
2017-07-09 19:36:03 +08:00
parent 2d8a71de6f
commit cd0c2c213f
2 changed files with 3 additions and 3 deletions
@@ -29,7 +29,7 @@
##
.text
.align 2
.globl main
.globl main
.set nomips16
main:
.set noreorder
@@ -50,7 +50,7 @@ main:
bne $s0, $zero, failed
sw $v0, -4($sp) # store the file descriptor for the socket on the stack
# connect(sockfd, {sa_family=AF_INET, sin_port=htons(4444), sin_addr=inet_addr("192.168.172.1")}, 16)
# connect(sockfd, {sa_family=AF_INET, sin_port=htons(4444), sin_addr=inet_addr("127.0.0.1")}, 16)
# a0: sockfd
# a1: addr = AF_INET (2)
# a2: addrlen = 16