]> Cypherpunks repositories - gostls13.git/commitdiff
syscall: fix mksysnum_dragonfly.pl
authorJoel Sing <jsing@google.com>
Wed, 5 Mar 2014 13:08:34 +0000 (00:08 +1100)
committerJoel Sing <jsing@google.com>
Wed, 5 Mar 2014 13:08:34 +0000 (00:08 +1100)
The format of the DragonFly BSD syscalls.master file has changed
slightly - update mksysnum_dragonfly.pl to match.

LGTM=mikioh.mikioh
R=golang-codereviews, mikioh.mikioh
CC=golang-codereviews
https://golang.org/cl/71460044

src/pkg/syscall/mksysnum_dragonfly.pl

index 769c29ea73574d4e7dff54411f2597dc4867efce..3eba3ab3d5a290fb02fb8333ebba50a0691f632e 100755 (executable)
@@ -20,7 +20,7 @@ const (
 EOF
 
 while(<>){
-       if(/^([0-9]+)\s+STD\s+\S+\s+({ \S+\s+(\w+).*)$/){
+       if(/^([0-9]+)\s+STD\s+({ \S+\s+(\w+).*)$/){
                my $num = $1;
                my $proto = $2;
                my $name = "SYS_$3";