diff options
Diffstat (limited to 'util-linux')
| -rw-r--r-- | util-linux/mount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index 620b14667..e24fc4024 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
| @@ -456,7 +456,7 @@ static int mount_it_now(struct mntent *mp, long vfsflags, char *filteropts) | |||
| 456 | args[rc++] = filteropts; | 456 | args[rc++] = filteropts; |
| 457 | } | 457 | } |
| 458 | args[rc] = NULL; | 458 | args[rc] = NULL; |
| 459 | rc = wait4pid(spawn(args)); | 459 | rc = spawn_and_wait(args); |
| 460 | free(args[0]); | 460 | free(args[0]); |
| 461 | if (!rc) | 461 | if (!rc) |
| 462 | break; | 462 | break; |
| @@ -1633,7 +1633,7 @@ static int singlemount(struct mntent *mp, int ignore_busy) | |||
| 1633 | } | 1633 | } |
| 1634 | args[n++] = mp->mnt_dir; | 1634 | args[n++] = mp->mnt_dir; |
| 1635 | args[n] = NULL; | 1635 | args[n] = NULL; |
| 1636 | rc = wait4pid(xspawn(args)); | 1636 | rc = spawn_and_wait(args); |
| 1637 | goto report_error; | 1637 | goto report_error; |
| 1638 | } | 1638 | } |
| 1639 | 1639 | ||
