Skip to content

Commit 81feacd

Browse files
committed
Fix typo in CreateUnixSocket error message
Signed-off-by: Kenfe-Mickael Laventure <[email protected]>
1 parent 84a7b9c commit 81feacd

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
@@ -31,7 +31,7 @@ import (
3131
func CreateUnixSocket(path string) (net.Listener, error) {
3232
// BSDs have a 104 limit
3333
if len(path) > 104 {
34-
return nil, errors.Errorf("%q: unix socket path too long (> 106)", path)
34+
return nil, errors.Errorf("%q: unix socket path too long (> 104)", path)
3535
}
3636
if err := os.MkdirAll(filepath.Dir(path), 0660); err != nil {
3737
return nil, err

0 commit comments

Comments
 (0)