diff options
author | ache <ache@FreeBSD.org> | 1997-04-23 23:04:58 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-04-23 23:04:58 +0000 |
commit | 9829398fac5ed9ff171e3fcf6fe6cd296904af52 (patch) | |
tree | f0073a3fd2557bcfa91897e6fd3e4b68d48870b8 /sbin/mount/mount.c | |
parent | a5e825e238c466bcfacb8eced34f9dc0133f506f (diff) | |
download | FreeBSD-src-9829398fac5ed9ff171e3fcf6fe6cd296904af52.zip FreeBSD-src-9829398fac5ed9ff171e3fcf6fe6cd296904af52.tar.gz |
Change vfork to fork, too many memory-clobbering actions present in child
Diffstat (limited to 'sbin/mount/mount.c')
-rw-r--r-- | sbin/mount/mount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index c281cbc..b0d0105 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. */ |