Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Fix printf format warnings in previous.



details:   https://anonhg.NetBSD.org/src/rev/3556f29ace59
branches:  trunk
changeset: 542426:3556f29ace59
user:      kleink <kleink%NetBSD.org@localhost>
date:      Tue Jan 28 18:16:18 2003 +0000

description:
Fix printf format warnings in previous.

diffstat:

 sys/dev/ic/dpt.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 9bbf3ee38440 -r 3556f29ace59 sys/dev/ic/dpt.c
--- a/sys/dev/ic/dpt.c  Tue Jan 28 16:21:58 2003 +0000
+++ b/sys/dev/ic/dpt.c  Tue Jan 28 18:16:18 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dpt.c,v 1.37 2003/01/27 23:31:19 ad Exp $      */
+/*     $NetBSD: dpt.c,v 1.38 2003/01/28 18:16:18 kleink Exp $  */
 
 /*-
  * Copyright (c) 1997, 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dpt.c,v 1.37 2003/01/27 23:31:19 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dpt.c,v 1.38 2003/01/28 18:16:18 kleink Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1152,9 +1152,9 @@
 
        case DPT_EATAUSRCMD:
                if (IOCPARM_LEN(cmd) < sizeof(struct eata_ucp)) {
-                       DPRINTF(("%s: ucp %d vs %d bytes\n",
+                       DPRINTF(("%s: ucp %lu vs %lu bytes\n",
                            sc->sc_dv.dv_xname, IOCPARM_LEN(cmd),
-                           sizeof(struct eata_ucp)));
+                           (unsigned long int)sizeof(struct eata_ucp)));
                        return (EINVAL);
                }
 



Home | Main Index | Thread Index | Old Index