From d952a0a76e13c47b3067bb7b29e40fc23c787f7b Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 4 Aug 1998 23:18:21 +0000 Subject: fix type of resid in debugging printf --- sys/arch/amiga/dev/par.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch') diff --git a/sys/arch/amiga/dev/par.c b/sys/arch/amiga/dev/par.c index 69fdf80870f..8060714338f 100644 --- a/sys/arch/amiga/dev/par.c +++ b/sys/arch/amiga/dev/par.c @@ -1,4 +1,4 @@ -/* $OpenBSD: par.c,v 1.4 1997/01/16 09:25:09 niklas Exp $ */ +/* $OpenBSD: par.c,v 1.5 1998/08/04 23:18:20 millert Exp $ */ /* $NetBSD: par.c,v 1.16 1996/12/23 09:10:28 veego Exp $ */ /* @@ -441,7 +441,7 @@ again: free(buf, M_DEVBUF); #ifdef DEBUG if (pardebug & (PDB_FOLLOW|PDB_IO)) - printf("parrw: return %d, resid %d\n", error, uio->uio_resid); + printf("parrw: return %d, resid %u\n", error, uio->uio_resid); #endif return (error); } -- cgit v1.2.3