diff options
author | dfr <dfr@FreeBSD.org> | 2000-10-12 17:46:12 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2000-10-12 17:46:12 +0000 |
commit | 4795e9a3e1b9867c5849c23f44d7e0b38c083f90 (patch) | |
tree | 56a5a5df6a5cea625ea7ef04be6f3ebe07054bfd | |
parent | 37da67bd5ebd8c75c5f996c578cdf41dab57b130 (diff) | |
download | FreeBSD-src-4795e9a3e1b9867c5849c23f44d7e0b38c083f90.zip FreeBSD-src-4795e9a3e1b9867c5849c23f44d7e0b38c083f90.tar.gz |
Turn off a debugging printf.
-rw-r--r-- | sys/ia64/ia64/sscdisk.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/ia64/ia64/sscdisk.c b/sys/ia64/ia64/sscdisk.c index 63d0edb..da9842d 100644 --- a/sys/ia64/ia64/sscdisk.c +++ b/sys/ia64/ia64/sscdisk.c @@ -209,8 +209,9 @@ sscstrategy(struct bio *bp) t = len; req.len = t; req.addr = ia64_tpa(va); - printf("sscstrategy: reading %ld bytes from 0x%ld into 0x%lx\n", - req.len, off, req.addr); + if (ssc_debug > 1) + printf("sscstrategy: reading %d bytes from 0x%ld into 0x%lx\n", + req.len, off, req.addr); ssc(sc->fd, 1, ia64_tpa((long) &req), off, sscop); stat.fd = sc->fd; ssc(ia64_tpa((long)&stat), 0, 0, 0, |