From 2e35ca6c33cd9c089b6536e9405e2f90a8ec101c Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 7 Oct 2008 12:31:31 -0700 Subject: update code to follow new semicolon rules: * 1. all statements and declarations are terminated by semicolons * 2. semicolons can be omitted at top level. * 3. semicolons can be omitted before and after the closing ) or } * on a list of statements or declarations. /home/rsc/bin/addsemi and then diff+tweak. R=r,gri OCL=16620 CL=16643 --- src/lib/syscall/file_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/syscall/file_linux.go') diff --git a/src/lib/syscall/file_linux.go b/src/lib/syscall/file_linux.go index b5120a70b..09d5379c2 100644 --- a/src/lib/syscall/file_linux.go +++ b/src/lib/syscall/file_linux.go @@ -83,7 +83,7 @@ export func unlink(name string) (ret int64, errno int64) { } export func fcntl(fd, cmd, arg int64) (ret int64, errno int64) { - r1, r2, err := Syscall(SYS_FCNTL, fd, cmd, arg) + r1, r2, err := Syscall(SYS_FCNTL, fd, cmd, arg); return r1, err } -- cgit v1.2.3