Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/iopctl fix LP64 warning.



details:   https://anonhg.NetBSD.org/src/rev/e2543f0d54f3
branches:  trunk
changeset: 500536:e2543f0d54f3
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Dec 13 10:56:43 2000 +0000

description:
fix LP64 warning.

diffstat:

 usr.sbin/iopctl/iopctl.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f26b7ec068c3 -r e2543f0d54f3 usr.sbin/iopctl/iopctl.c
--- a/usr.sbin/iopctl/iopctl.c  Wed Dec 13 10:29:40 2000 +0000
+++ b/usr.sbin/iopctl/iopctl.c  Wed Dec 13 10:56:43 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iopctl.c,v 1.2 2000/12/11 13:58:46 ad Exp $    */
+/*     $NetBSD: iopctl.c,v 1.3 2000/12/13 10:56:43 mrg Exp $   */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 
 #ifndef lint
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: iopctl.c,v 1.2 2000/12/11 13:58:46 ad Exp $");
+__RCSID("$NetBSD: iopctl.c,v 1.3 2000/12/13 10:56:43 mrg Exp $");
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -214,7 +214,7 @@
        req.oat.fieldcount = htole16(0xffff);
        req.oat.group = htole16(group);
 
-       printf("%d\n", sizeof(mb));
+       printf("%ld\n", sizeof(mb));
 
        pt.pt_msg = &mb;
        pt.pt_msglen = sizeof(mb);



Home | Main Index | Thread Index | Old Index