Commit f4ec7a2b authored by James D. Nurmi's avatar James D. Nurmi

Didn't compile..

parent 1fe08a46
......@@ -48,10 +48,11 @@ func (me *HelloFs) Open(name string, flags uint32) (file fuse.File, code fuse.St
}
func main() {
flag.Parse()
if len(flag.Args()) < 1 {
log.Fatal("Usage:\n hello MOUNTPOINT")
}
state, conn, err := fuse.MountFileSystem(flag.Arg(0), &HelloFs{}, nil)
state, _, err := fuse.MountFileSystem(flag.Arg(0), &HelloFs{}, nil)
if err != nil {
log.Fatal("Mount fail: %v\n", err)
}
......
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