From 81feacd39359a6c7934219723c4468d03f1d4700 Mon Sep 17 00:00:00 2001 From: Kenfe-Mickael Laventure Date: Fri, 30 Mar 2018 13:14:55 -0700 Subject: [PATCH] Fix typo in CreateUnixSocket error message Signed-off-by: Kenfe-Mickael Laventure --- sys/socket_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/socket_unix.go b/sys/socket_unix.go index cde68e2fc..0dbca0e33 100644 --- a/sys/socket_unix.go +++ b/sys/socket_unix.go @@ -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