diff options
author | phk <phk@FreeBSD.org> | 1994-10-20 00:08:31 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1994-10-20 00:08:31 +0000 |
commit | c006d3d459bea4c55979f37246a972aa62af5074 (patch) | |
tree | d9db131bb2c95c74c890049903663fc06ceb8d34 /sys/scsi | |
parent | c5bd2be246c76a1d84e3c48edca810e6f637312e (diff) | |
download | FreeBSD-src-c006d3d459bea4c55979f37246a972aa62af5074.zip FreeBSD-src-c006d3d459bea4c55979f37246a972aa62af5074.tar.gz |
Peter Dufaults comconsole changes.
Submitted by: Peter Dufault
Diffstat (limited to 'sys/scsi')
-rw-r--r-- | sys/scsi/sd.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c index 2cc9614..9ef1357 100644 --- a/sys/scsi/sd.c +++ b/sys/scsi/sd.c @@ -14,7 +14,7 @@ * * Ported to run under 386BSD by Julian Elischer (julian@dialix.oz.au) Sept 1992 * - * $Id: sd.c,v 1.34 1994/10/08 22:26:40 phk Exp $ + * $Id: sd.c,v 1.35 1994/10/19 00:09:45 wollman Exp $ */ #define SPLSD splbio @@ -1020,7 +1020,8 @@ sddump(dev_t dev) addr = (char *) 0; /* starting address */ /* toss any characters present prior to dump */ - while ((c = sgetc(1)) && (c != 0x100)); /*syscons and pccons differ */ + while ((c = cncheckc(1)) && (c != 0x100)); + /*syscons and pccons differ */ /* size of memory to dump */ num = Maxmem; @@ -1114,7 +1115,7 @@ sddump(dev_t dev) (int) addr += 512 * blkcnt; /* operator aborting dump? */ - if ((c = sgetc(1)) && (c != 0x100)) + if ((c = cncheckc(1)) && (c != 0x100)) return (EINTR); } return (0); |