]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/syscall/mksyscall.pl
[dev.regabi] all: merge master (c9fb4eb) into dev.regabi
[gostls13.git] / src / syscall / mksyscall.pl
index 790df3825bbdfdc47cc14146495c1e204d3dd344..26c93ffe5b5ab290995651539f39e3dd69fb457e 100755 (executable)
@@ -125,7 +125,7 @@ while(<>) {
        # without reading the header.
        $text .= "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT\n\n";
 
-       if ($darwin && $func eq "ptrace") {
+       if ($darwin && $func eq "ptrace1") {
                # The ptrace function is called from forkAndExecInChild where stack
                # growth is forbidden.
                $text .= "//go:nosplit\n"