summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-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)