From 33e1b11555d3557a36bd69d63f5bf0c290b5d462 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Wed, 26 Jun 2024 01:41:28 +0200 Subject: LibC: Fix printf formatting Previously %02x would not print out padding if the given value was zero. --- userland/libc/include/syscall.h | 1 + 1 file changed, 1 insertion(+) (limited to 'userland/libc/include/syscall.h') 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); -- cgit v1.2.3