Commit 6fa29d88 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Make benchmark compile too.

parent 2ebd53d1
......@@ -71,7 +71,7 @@ func NewStatFs() *StatFs {
func setupFs(fs fuse.FileSystem, opts *fuse.FileSystemOptions) (string, func()) {
mountPoint := fuse.MakeTempDir()
state, _, err := fuse.MountFileSystem(mountPoint, fs, opts)
state, _, err := fuse.MountPathFileSystem(mountPoint, fs, opts)
if err != nil {
panic(fmt.Sprintf("cannot mount %v", err)) // ugh - benchmark has no error methods.
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment