diff options
Diffstat (limited to 'protoParse.go')
| -rw-r--r-- | protoParse.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protoParse.go b/protoParse.go index 9aef560..024125d 100644 --- a/protoParse.go +++ b/protoParse.go @@ -122,7 +122,7 @@ func (f *File) parseForMessage(line string) *MsgName { log.Info("found messge:", msgName) msg := new(MsgName) msg.Name = msgName - msg.Lockname = msgName + "Mu" + msg.Lockname = f.Filebase + "Mu" // this should be lowercase. do not export the Mutex if strings.Contains(line, "`autogenpb:mutex`") { msg.DoMutex = true |
