diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index c281cbce9e7c..b0d010562fca 100644 --- a/sbin/mount/mount.c +++ b/sbin/mount/mount.c @@ -352,9 +352,9 @@ mountfs(vfstype, spec, name, flags, options, mntopts) return (0); } - switch (pid = vfork()) { + switch (pid = fork()) { case -1: /* Error. */ - warn("vfork"); + warn("fork"); free(optbuf); return (1); case 0: /* Child. */ diff --git a/sbin/mount_ifs/mount.c b/sbin/mount_ifs/mount.c index c281cbce9e7c..b0d010562fca 100644 --- a/sbin/mount_ifs/mount.c +++ b/sbin/mount_ifs/mount.c @@ -352,9 +352,9 @@ mountfs(vfstype, spec, name, flags, options, mntopts) return (0); } - switch (pid = vfork()) { + switch (pid = fork()) { case -1: /* Error. */ - warn("vfork"); + warn("fork"); free(optbuf); return (1); case 0: /* Child. */