diff options
author | tg <tg@FreeBSD.org> | 2001-05-22 11:29:31 +0000 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2001-05-22 11:29:31 +0000 |
commit | 4a353a58b998439de8e61b99675b198e066119f7 (patch) | |
tree | 6e6bb0222050e5be2ffab3f60c318c2e22a88141 /usr.bin/doscmd | |
parent | 1877189382c8b818d2a31c04ed8461fe77da92d1 (diff) | |
download | FreeBSD-src-4a353a58b998439de8e61b99675b198e066119f7.zip FreeBSD-src-4a353a58b998439de8e61b99675b198e066119f7.tar.gz |
DOS function 0x0a (buffered keyboard input) returned immediately.
PR: 15531
Submitted by: Atushi Sakauchi <sakauchi@yamame.to>
Diffstat (limited to 'usr.bin/doscmd')
-rw-r--r-- | usr.bin/doscmd/dos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/doscmd/dos.c b/usr.bin/doscmd/dos.c index afd1d66..9742ea7 100644 --- a/usr.bin/doscmd/dos.c +++ b/usr.bin/doscmd/dos.c @@ -569,7 +569,7 @@ int21_0a(regcontext_t *REGS) int n; /* pointer to buffer */ - addr = (unsigned char *)MAKEPTR(R_DS, R_DL); + addr = (unsigned char *)MAKEPTR(R_DS, R_DX); /* capacity of buffer */ avail = addr[0]; |