From 274e0d27b711fdabd5a4340335017ee862c30290 Mon Sep 17 00:00:00 2001 From: Jeremy Hilliker Date: Sun, 31 May 2020 15:45:32 -0700 Subject: contrib/getdents-debug: fix function call missing argument from 22e3eec15302eac28c1a2ac3f9af29c2c9e82a3c --- contrib/getdents-debug/getdents/getdents.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/getdents-debug') diff --git a/contrib/getdents-debug/getdents/getdents.go b/contrib/getdents-debug/getdents/getdents.go index d7dac78..a3cdac4 100644 --- a/contrib/getdents-debug/getdents/getdents.go +++ b/contrib/getdents-debug/getdents/getdents.go @@ -66,7 +66,7 @@ func main() { sum := 0 fd, err := unix.Open(path, unix.O_RDONLY, 0) if err != nil { - fmt.Printf("%3d: unix.Open returned err=%v\n", err) + fmt.Printf("%3d: unix.Open returned err=%v\n", i, err) os.Exit(1) } fmt.Printf("%3d: unix.Getdents: ", i) -- cgit v1.2.3