diff options
Diffstat (limited to 'usr.sbin/sysinstall/dos.c')
-rw-r--r-- | usr.sbin/sysinstall/dos.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/dos.c b/usr.sbin/sysinstall/dos.c index b1edd3d..d1aa615 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.12 1996/04/28 03:26:54 jkh Exp $ + * $Id: dos.c,v 1.13 1996/07/08 08:54:25 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -82,7 +82,8 @@ mediaGetDOS(Device *dev, char *file, Boolean probe) { char buf[PATH_MAX]; - msgDebug("Request for %s from DOS\n", file); + if (isDebug()) + msgDebug("Request for %s from DOS\n", file); snprintf(buf, PATH_MAX, "/dos/freebsd/%s", file); if (file_readable(buf)) return open(buf, O_RDONLY); |