diff --git a/eth/rpc/constants_unix.go b/eth/rpc/constants_unix.go index 2f98d6499..860e37d65 100644 --- a/eth/rpc/constants_unix.go +++ b/eth/rpc/constants_unix.go @@ -21,7 +21,7 @@ package rpc /* #include -int max_socket_path_size() { +int maximum_socket_path_size() { struct sockaddr_un s; return sizeof(s.sun_path); } @@ -29,5 +29,5 @@ return sizeof(s.sun_path); import "C" var ( - max_path_size = C.max_socket_path_size() + max_path_size = C.maximum_socket_path_size() )