Skip to content

Commit 6db03b7

Browse files
authored
Merge pull request #2260 from stevvooe/cherry-pick-#2258
[release/1.0] Fix typo in CreateUnixSocket error message
2 parents 46a104a + 8386ef2 commit 6db03b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sys/socket_unix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
func CreateUnixSocket(path string) (net.Listener, error) {
1616
// BSDs have a 104 limit
1717
if len(path) > 104 {
18-
return nil, errors.Errorf("%q: unix socket path too long (> 106)", path)
18+
return nil, errors.Errorf("%q: unix socket path too long (> 104)", path)
1919
}
2020
if err := os.MkdirAll(filepath.Dir(path), 0660); err != nil {
2121
return nil, err

0 commit comments

Comments
 (0)