summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1998-08-04 23:18:20 +0000
committermillert <millert@openbsd.org>1998-08-04 23:18:20 +0000
commita1c9e7bb4fa2751789c553e0727966820a68bf6a (patch)
treeb0a01b36b20c32ab6076b4ce4b24b0b57cd64d0f
parentfix type of resid in printf (diff)
downloadwireguard-openbsd-a1c9e7bb4fa2751789c553e0727966820a68bf6a.tar.xz
wireguard-openbsd-a1c9e7bb4fa2751789c553e0727966820a68bf6a.zip
fix type of resid in debugging printf
-rw-r--r--sys/arch/amiga/dev/par.c4
1 files changed, 2 insertions, 2 deletions
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);
}