summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorRodney W. Grimes <rgrimes@FreeBSD.org>1995-05-11 19:26:53 +0000
committerRodney W. Grimes <rgrimes@FreeBSD.org>1995-05-11 19:26:53 +0000
commitb2b795f07c71a7ebef458372022686da4f002ddc (patch)
tree461a2b653690a240b421c8d7ee556596a41c3c5b /sys/dev
parenta51ab5ce3b2e12b0c973a25ec4dfde5ee818481e (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/mcd/mcd.c4
-rw-r--r--sys/dev/sio/sio.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c
index 11a9344fee38..fbe6b13dcfa2 100644
--- a/sys/dev/mcd/mcd.c
+++ b/sys/dev/mcd/mcd.c
@@ -40,7 +40,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: mcd.c,v 1.41 1995/04/12 20:47:58 wollman Exp $
+ * $Id: mcd.c,v 1.42 1995/05/09 11:39:40 rgrimes Exp $
*/
static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore";
@@ -1075,7 +1075,7 @@ nextblock:
blknum = (bp->b_blkno / (mbx->sz/DEV_BSIZE))
+ mbx->p_offset + mbx->skip/mbx->sz;
- MCD_TRACE("mcd_doread: read blknum=%d for bp=0x%x\n",
+ MCD_TRACE("mcd_doread: read blknum=%d for bp=%p\n",
blknum, bp);
/* build parameter block */
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 2834092a066e..9764ef65112e 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
- * $Id: sio.c,v 1.96 1995/04/23 12:41:57 bde Exp $
+ * $Id: sio.c,v 1.97 1995/05/07 23:00:02 ache Exp $
*/
#include "sio.h"
@@ -2329,7 +2329,7 @@ LoadSoftModem(int unit, int base_io, u_long size, u_char *ptr)
return 0;
error:
- printf("sio%d: DSI SoftModem microcode load failed: <%s>\n",ptr);
+ printf("sio%d: DSI SoftModem microcode load failed: <%s>\n",unit,ptr);
outb(base_io+7,0x00); \
outb(base_io+3,data_0187); \
outb(base_io+4,data_0188); \