- be C99 friendly. Anonymous unions are a GNU extension. This change is
size-neutral WRT -std=gnu99 and fixes several compilation errors for strict C99 mode.
This commit is contained in:
@ -1496,7 +1496,7 @@ static int singlemount(struct mntent *mp, int ignore_busy)
|
||||
|
||||
// insert ip=... option into string flags.
|
||||
|
||||
dotted = xmalloc_sockaddr2dotted_noport(&lsa->sa);
|
||||
dotted = xmalloc_sockaddr2dotted_noport(&lsa->u.sa);
|
||||
ip = xasprintf("ip=%s", dotted);
|
||||
parse_mount_options(ip, &filteropts);
|
||||
|
||||
|
Reference in New Issue
Block a user