aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Hilliker2020-05-31 15:45:32 -0700
committerrfjakob2020-06-01 10:18:18 +0200
commit274e0d27b711fdabd5a4340335017ee862c30290 (patch)
tree1c18475828906680930e7530b73235c2d9c304db
parent22e3eec15302eac28c1a2ac3f9af29c2c9e82a3c (diff)
contrib/getdents-debug: fix function call missing argument from 22e3eec15302eac28c1a2ac3f9af29c2c9e82a3c
-rw-r--r--contrib/getdents-debug/getdents/getdents.go2
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)