From: Paul Floyd Date: Wed, 29 Oct 2025 15:08:28 +0000 (+0100) Subject: FreeBSD comment: fix amd64 do_syscall_WRK arg comments X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa73fe4bfe46375ef6bacc5ec9412f1150742618;p=thirdparty%2Fvalgrind.git FreeBSD comment: fix amd64 do_syscall_WRK arg comments I recently changed the amd64 syscall to lower the max number of args handled but didn't update the corresponding comment. --- diff --git a/coregrind/m_syscall.c b/coregrind/m_syscall.c index cb3c603f8..01766617a 100644 --- a/coregrind/m_syscall.c +++ b/coregrind/m_syscall.c @@ -768,8 +768,8 @@ extern UWord do_syscall_WRK ( UWord a5, /* %r9 */ UWord a6, /* 8(%rsp) */ UWord a7, /* 16(%rsp) */ - UInt *flags, /* 32(%rsp) */ - UWord *rv2 /* 40(%rsp) */ + UInt *flags, /* 24(%rsp) */ + UWord *rv2 /* 32(%rsp) */ ); asm( ".text\n"