summaryrefslogtreecommitdiff
path: root/userland/libc/include/syscall.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-06-26 01:41:28 +0200
committerAnton Kling <anton@kling.gg>2024-06-26 01:41:28 +0200
commit33e1b11555d3557a36bd69d63f5bf0c290b5d462 (patch)
tree7690db8310fc26f70b3cb96c8d2241969303cfe7 /userland/libc/include/syscall.h
parent3bed68592da11f2d013f76534220275739dd7556 (diff)
LibC: Fix printf formatting
Previously %02x would not print out padding if the given value was zero.
Diffstat (limited to 'userland/libc/include/syscall.h')
-rw-r--r--userland/libc/include/syscall.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/userland/libc/include/syscall.h b/userland/libc/include/syscall.h
index 1f68b60..fee2e43 100644
--- a/userland/libc/include/syscall.h
+++ b/userland/libc/include/syscall.h
@@ -45,6 +45,7 @@
#define SYS_LSEEK 37
#define SYS_CONNECT 38
#define SYS_SETSOCKOPT 39
+#define SYS_GETPEERNAME 40
int syscall(uint32_t eax, uint32_t ebx, uint32_t ecx, uint32_t edx,
uint32_t esi, uint32_t edi);