aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/sharefs
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/sharefs')
-rw-r--r--cmd/sharefs/fuse.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/sharefs/fuse.go b/cmd/sharefs/fuse.go
index f14cc998..1dc34e21 100644
--- a/cmd/sharefs/fuse.go
+++ b/cmd/sharefs/fuse.go
@@ -24,7 +24,7 @@ import (
"os"
"os/exec"
"os/signal"
- "path"
+ "path/filepath"
"runtime"
"runtime/cgo"
"strconv"
@@ -145,9 +145,9 @@ func sharefs_destroy(private_data unsafe.Pointer) {
func showHelp(args *fuseArgs) {
executableName := sharefsName
if args.argc > 0 {
- executableName = path.Base(C.GoString(*args.argv))
+ executableName = filepath.Base(C.GoString(*args.argv))
} else if name, err := os.Executable(); err == nil {
- executableName = path.Base(name)
+ executableName = filepath.Base(name)
}
fmt.Printf("usage: %s [options] <mountpoint>\n\n", executableName)