- 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:
Bernhard Reutner-Fischer
2008-01-29 10:33:34 +00:00
parent c882f341ce
commit 8c69afd992
18 changed files with 98 additions and 99 deletions

View File

@ -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);