diff --git a/CMakeLists.txt b/CMakeLists.txt index b0db65e69..8aa8fb9a6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ project(gloo CXX C) set(GLOO_VERSION_MAJOR 0) set(GLOO_VERSION_MINOR 5) -set(GLOO_VERSION_PATCH 0) +set(GLOO_VERSION_PATCH 1) set(GLOO_VERSION "${GLOO_VERSION_MAJOR}.${GLOO_VERSION_MINOR}.${GLOO_VERSION_PATCH}") diff --git a/gloo/common/linux.cc b/gloo/common/linux.cc index c5e6c887b..423de67b0 100644 --- a/gloo/common/linux.cc +++ b/gloo/common/linux.cc @@ -193,8 +193,8 @@ static int getInterfaceSpeedGLinkSettings(int sock, struct ifreq* ifr) { #if LINUX_VERSION_CODE >= KERNEL_VERSION(4,6,0) constexpr auto link_mode_data_nwords = 3 * 127; struct { - struct ethtool_link_settings req; __u32 link_mode_data[link_mode_data_nwords]; + struct ethtool_link_settings req; } ecmd; int rv;