diff options
author | Jeremy Hilliker | 2020-05-31 15:45:32 -0700 |
---|---|---|
committer | rfjakob | 2020-06-01 10:18:18 +0200 |
commit | 274e0d27b711fdabd5a4340335017ee862c30290 (patch) | |
tree | 1c18475828906680930e7530b73235c2d9c304db /contrib/getdents-debug/getdents | |
parent | 22e3eec15302eac28c1a2ac3f9af29c2c9e82a3c (diff) |
contrib/getdents-debug: fix function call missing argument from 22e3eec15302eac28c1a2ac3f9af29c2c9e82a3c
Diffstat (limited to 'contrib/getdents-debug/getdents')
-rw-r--r-- | contrib/getdents-debug/getdents/getdents.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |