Skip to content

Commit

Permalink
Merge pull request #2258 from mlaventure/fix-stupid-typo
Browse files Browse the repository at this point in the history
Fix typo in CreateUnixSocket error message
  • Loading branch information
crosbymichael committed Mar 30, 2018
2 parents c0f7fcd + 81feacd commit 1a9f9e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/socket_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
func CreateUnixSocket(path string) (net.Listener, error) {
// BSDs have a 104 limit
if len(path) > 104 {
return nil, errors.Errorf("%q: unix socket path too long (> 106)", path)
return nil, errors.Errorf("%q: unix socket path too long (> 104)", path)
}
if err := os.MkdirAll(filepath.Dir(path), 0660); err != nil {
return nil, err
Expand Down

0 comments on commit 1a9f9e6

Please sign in to comment.