diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1996-06-09 18:42:47 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1996-06-09 18:42:47 +0000 |
commit | 08608bac463bb3741c776e58e9daa07e181cde21 (patch) | |
tree | e427d0c6901b12631a91a70e17cd1aaf70075869 | |
parent | bfec34ccd452873e9105fb24e053a50b9eb6cba7 (diff) |
Bug fix from Manuel.
-rw-r--r-- | sys/dev/atapi/acd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/atapi/acd.c b/sys/dev/atapi/acd.c index 49775d33869..8d7b862550c 100644 --- a/sys/dev/atapi/acd.c +++ b/sys/dev/atapi/acd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acd.c,v 1.2 1996/06/09 08:59:46 downsj Exp $ */ +/* $OpenBSD: acd.c,v 1.3 1996/06/09 18:42:46 downsj Exp $ */ /* * Copyright (c) 1996 Manuel Bouyer. All rights reserved. @@ -982,7 +982,7 @@ acd_size(cd, flags) blksize = 2048; /* some drives lie ! */ cd->params.blksize = blksize; - size = ntohl(size); + size = ntohl(rdcap.size); if (size < 100) size = 400000; /* ditto */ cd->params.disksize = size; |