diff --git a/release/sysinstall/dos.c b/release/sysinstall/dos.c index ac021bb929f..3b66bcf15dc 100644 --- a/release/sysinstall/dos.c +++ b/release/sysinstall/dos.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: dos.c,v 1.19 1998/09/08 11:44:07 jkh Exp $ + * $Id: dos.c,v 1.20 1998/10/05 03:32:03 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -87,7 +87,7 @@ mediaGetDOS(Device *dev, char *file, Boolean probe) snprintf(buf, PATH_MAX, "/dist/%s", file); if (file_readable(buf)) return fopen(buf, "r"); - snprintf(buf, PATH_MAX, "/dist/dists/%s", file); + snprintf(buf, PATH_MAX, "/dist/FREEBSD/%s", file); if (file_readable(buf)) return fopen(buf, "r"); snprintf(buf, PATH_MAX, "/dist/%s/%s", variable_get(VAR_RELNAME), file); diff --git a/usr.sbin/sysinstall/dos.c b/usr.sbin/sysinstall/dos.c index ac021bb929f..3b66bcf15dc 100644 --- a/usr.sbin/sysinstall/dos.c +++ b/usr.sbin/sysinstall/dos.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: dos.c,v 1.19 1998/09/08 11:44:07 jkh Exp $ + * $Id: dos.c,v 1.20 1998/10/05 03:32:03 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -87,7 +87,7 @@ mediaGetDOS(Device *dev, char *file, Boolean probe) snprintf(buf, PATH_MAX, "/dist/%s", file); if (file_readable(buf)) return fopen(buf, "r"); - snprintf(buf, PATH_MAX, "/dist/dists/%s", file); + snprintf(buf, PATH_MAX, "/dist/FREEBSD/%s", file); if (file_readable(buf)) return fopen(buf, "r"); snprintf(buf, PATH_MAX, "/dist/%s/%s", variable_get(VAR_RELNAME), file);