From d3739879c900835e0dc24200f02147d90e6a04ef Mon Sep 17 00:00:00 2001 From: jkh Date: Fri, 23 Aug 1996 07:56:06 +0000 Subject: Conditionalize some annoying debug statements, update the docs. --- usr.sbin/sysinstall/ufs.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.sbin/sysinstall/ufs.c') diff --git a/usr.sbin/sysinstall/ufs.c b/usr.sbin/sysinstall/ufs.c index 95ea97f..9a70070 100644 --- a/usr.sbin/sysinstall/ufs.c +++ b/usr.sbin/sysinstall/ufs.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: ufs.c,v 1.7 1996/03/02 07:31:58 jkh Exp $ + * $Id: ufs.c,v 1.8 1996/04/13 13:32:14 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -47,7 +47,8 @@ mediaGetUFS(Device *dev, char *file, Boolean probe) { char buf[PATH_MAX]; - msgDebug("Request for %s from UFS\n", file); + if (isDebug()) + msgDebug("Request for %s from UFS\n", file); snprintf(buf, PATH_MAX, "%s/%s", dev->private, file); if (file_readable(buf)) return open(buf, O_RDONLY); -- cgit v1.1