diff mbox series

[pseudo,1/4] test-syscall: Remove build warning

Message ID 1768439403-23665-2-git-send-email-mark.hatle@kernel.crashing.org
State New
Headers show
Series Implement openat2 wrapper | expand

Commit Message

Mark Hatle Jan. 15, 2026, 1:10 a.m. UTC
From: "mark.hatle" <mark.hatle@kernel.crashing.org>

Compiler is warning about argc and argv not being used.

Signed-off-by: mark.hatle <mark.hatle@kernel.crashing.org>
---
 test/test-syscall.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/test/test-syscall.c b/test/test-syscall.c
index 1e21525..9031766 100644
--- a/test/test-syscall.c
+++ b/test/test-syscall.c
@@ -11,7 +11,7 @@ 
 #include <string.h>
 #include <errno.h>
 
-int main(int argc, char *argv[]) {
+int main() {
     long rc = 0;
 
 #ifdef SYS_renameat2