Message ID | 20170913102650.10377-2-stefanha@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c index 1d30d34..033f254 100644 --- a/utils/mount/stropts.c +++ b/utils/mount/stropts.c @@ -919,9 +919,7 @@ static int nfs_try_mount(struct nfsmount_info *mi) int result = 0; if (mi->address == NULL) { - struct addrinfo hint = { - .ai_protocol = (int)IPPROTO_UDP, - }; + struct addrinfo hint = {}; int error; struct addrinfo *address;