diff --git a/internal/commands/mountpoint_9p.go b/internal/commands/mountpoint_9p.go index b949f88e..60a9ac29 100644 --- a/internal/commands/mountpoint_9p.go +++ b/internal/commands/mountpoint_9p.go @@ -106,7 +106,7 @@ func (o9 plan9GuestOptions) make() (plan9GuestSettings, error) { if settings.Maddr == nil { var ( flagPrefix = prefixIDFlag(p9fs.GuestID) - srvName = flagPrefix + p9ServerFlagSuffix + srvName = flagPrefix + p9ServerFlagName ) return plan9GuestSettings{}, fmt.Errorf( "flag `-%s` must be provided for 9P guests",