diff options
author | jkh <jkh@FreeBSD.org> | 1996-08-23 07:56:06 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-08-23 07:56:06 +0000 |
commit | d3739879c900835e0dc24200f02147d90e6a04ef (patch) | |
tree | 69af8b5de1d6b46ca3b0dfb634ea459085641164 /release/sysinstall/nfs.c | |
parent | 165e9df2a3701ed0e39568d23c2aee30548143d0 (diff) | |
download | FreeBSD-src-d3739879c900835e0dc24200f02147d90e6a04ef.zip FreeBSD-src-d3739879c900835e0dc24200f02147d90e6a04ef.tar.gz |
Conditionalize some annoying debug statements, update the docs.
Diffstat (limited to 'release/sysinstall/nfs.c')
-rw-r--r-- | release/sysinstall/nfs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/release/sysinstall/nfs.c b/release/sysinstall/nfs.c index 516e4f1..ce16cec 100644 --- a/release/sysinstall/nfs.c +++ b/release/sysinstall/nfs.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: nfs.c,v 1.9 1996/04/23 01:29:30 jkh Exp $ + * $Id: nfs.c,v 1.10 1996/07/08 08:54:31 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -75,7 +75,8 @@ mediaGetNFS(Device *dev, char *file, Boolean probe) { char buf[PATH_MAX]; - msgDebug("Request for %s from NFS\n", file); + if (isDebug()) + msgDebug("Request for %s from NFS\n", file); snprintf(buf, PATH_MAX, "/dist/%s", file); if (file_readable(buf)) return open(buf, O_RDONLY); |