contrib/getdents-debug: fix function call missing argument from 22e3eec153

This commit is contained in:
Jeremy Hilliker 2020-05-31 15:45:32 -07:00 committed by rfjakob
parent 22e3eec153
commit 274e0d27b7

View File

@ -66,7 +66,7 @@ func main() {
sum := 0 sum := 0
fd, err := unix.Open(path, unix.O_RDONLY, 0) fd, err := unix.Open(path, unix.O_RDONLY, 0)
if err != nil { 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) os.Exit(1)
} }
fmt.Printf("%3d: unix.Getdents: ", i) fmt.Printf("%3d: unix.Getdents: ", i)