summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/media.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-07-08 08:54:36 +0000
committerjkh <jkh@FreeBSD.org>1996-07-08 08:54:36 +0000
commit7e51f09a84728ab85cf82db31aad751f4aca98cb (patch)
tree412d8ec8d51ea1577e0884b928bfc378d1f29f28 /usr.sbin/sysinstall/media.c
parent824afef0c4ffcf3871a0091dfb4fb8af21888b56 (diff)
downloadFreeBSD-src-7e51f09a84728ab85cf82db31aad751f4aca98cb.zip
FreeBSD-src-7e51f09a84728ab85cf82db31aad751f4aca98cb.tar.gz
Whoops! Now that I'm decompressing docs into /tmp, it's important to
make sure that /tmp is there first! :-) While I'm at it, clean up the somewhat inexplicably bogus Mkdir() function.
Diffstat (limited to 'usr.sbin/sysinstall/media.c')
-rw-r--r--usr.sbin/sysinstall/media.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/sysinstall/media.c b/usr.sbin/sysinstall/media.c
index 421eba6..1d6ed97 100644
--- a/usr.sbin/sysinstall/media.c
+++ b/usr.sbin/sysinstall/media.c
@@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated to essentially a complete rewrite.
*
- * $Id: media.c,v 1.44 1996/07/02 01:03:46 jkh Exp $
+ * $Id: media.c,v 1.45 1996/07/05 08:35:58 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -412,7 +412,7 @@ mediaExtractDistBegin(char *dir, int *fd, int *zpid, int *cpid)
if (!dir)
dir = "/";
- Mkdir(dir, NULL);
+ Mkdir(dir);
chdir(dir);
pipe(pfd);
pipe(qfd);
@@ -495,7 +495,7 @@ mediaExtractDist(char *dir, int fd)
if (!dir)
dir = "/";
- Mkdir(dir, NULL);
+ Mkdir(dir);
chdir(dir);
pipe(pfd);
zpid = fork();
OpenPOWER on IntegriCloud