diff options
author | jkh <jkh@FreeBSD.org> | 1998-10-28 02:18:08 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1998-10-28 02:18:08 +0000 |
commit | abf0e5db73cb6f5b94c2aabe40dc929c9fe56857 (patch) | |
tree | 2a58c99883781a6e18df14559677928f8a9e2bec /usr.sbin/sysinstall/dos.c | |
parent | 5ce094d1894a4c527cc1ec2617cc4e4dc28a9172 (diff) | |
download | FreeBSD-src-abf0e5db73cb6f5b94c2aabe40dc929c9fe56857.zip FreeBSD-src-abf0e5db73cb6f5b94c2aabe40dc929c9fe56857.tar.gz |
Check for C:\FREEBSD also, for backwards compatibility
Diffstat (limited to 'usr.sbin/sysinstall/dos.c')
-rw-r--r-- | usr.sbin/sysinstall/dos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/dos.c b/usr.sbin/sysinstall/dos.c index ac021bb..3b66bcf 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); |