On 05/31/2017 09:08 PM, Ruediger Meier wrote: > From: Ruediger Meier <ruediger.meier@xxxxxxxxxxx> 8< --- > diff --git a/lib/plymouth-ctrl.c b/lib/plymouth-ctrl.c > index 75d8b93..0e60341 100644 > --- a/lib/plymouth-ctrl.c > +++ b/lib/plymouth-ctrl.c > @@ -85,7 +85,8 @@ static int open_un_socket_and_connect(void) > * Please note that the PLYMOUTH_SOCKET_PATH has a > * leading NULL byte to mark it as an abstract socket > */ > - ret = connect(fd, &su, offsetof(struct sockaddr_un, sun_path) + 1 + strlen(su.sun_path+1)); > + ret = connect(fd, (const struct sockaddr *) &su, > + offsetof(struct sockaddr_un, sun_path) + 1 + strlen(su.sun_path+1)); ^^^^^^^^^^^^^^ whitespace 8< --- -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html