diff options
author | Gary Palmer <gpalmer@FreeBSD.org> | 1995-05-21 19:29:17 +0000 |
---|---|---|
committer | Gary Palmer <gpalmer@FreeBSD.org> | 1995-05-21 19:29:17 +0000 |
commit | 8a3e807f068029a68b70f7b8f8511e0ab22807db (patch) | |
tree | 610e004d4f17960f2cbce613cba98124c64a7a4c /release | |
parent | c420fc79ed74525c5998379028a73e8ae29ca4ca (diff) | |
download | src-8a3e807f068029a68b70f7b8f8511e0ab22807db.tar.gz src-8a3e807f068029a68b70f7b8f8511e0ab22807db.zip |
I've just been told that I'm rooted on the hard disk at this point, not
on the boot floppy. Alter the paths to reflect this
Notes
Notes:
svn path=/head/; revision=8687
Diffstat (limited to 'release')
-rw-r--r-- | release/sysinstall/media_strategy.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/release/sysinstall/media_strategy.c b/release/sysinstall/media_strategy.c index 7227e3035c84..7e772453602a 100644 --- a/release/sysinstall/media_strategy.c +++ b/release/sysinstall/media_strategy.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_strategy.c,v 1.6 1995/05/21 17:56:13 gpalmer Exp $ + * $Id: media_strategy.c,v 1.5 1995/05/21 15:40:51 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -236,10 +236,9 @@ genericGetDist(char *path, struct attribs *dist_attrib) if (memory == (caddr_t) -1) msgFatal("mmap error: %s\n", strerror(errno)); - write(1, memory, sb.st_size); + write(1, memory, sb.st_size); munmap(memory, sb.st_size); close(fd); - close(fd); ++chunk; } } @@ -296,7 +295,7 @@ mediaGetCDROM(char *dist) dist_attr = safe_malloc(sizeof(struct attribs) * MAX_ATTRIBS); - snprintf(buf, PATH_MAX, "/mnt/stand/info/%s.inf", dist); + snprintf(buf, PATH_MAX, "/stand/info/%s.inf", dist); if (attr_parse(&dist_attr, buf) == 0) { msgConfirm("Cannot load information file for distribution\n"); @@ -337,7 +336,7 @@ mediaGetFloppy(char *dist) dist_attr = safe_malloc(sizeof(struct attribs) * MAX_ATTRIBS); - snprintf(buf, PATH_MAX, "/mnt/stand/info/%s.inf", dist); + snprintf(buf, PATH_MAX, "/stand/info/%s.inf", dist); if (attr_parse(&dist_attr, buf) == 0) { msgConfirm("Cannot load information file for distribution\n"); |