Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/ldpd Repair another %lu --> %zd - this one was caug...



details:   https://anonhg.NetBSD.org/src/rev/3c7f0db738a5
branches:  trunk
changeset: 782661:3c7f0db738a5
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Tue Nov 13 01:08:51 2012 +0000

description:
Repair another %lu --> %zd - this one was caught by building for
evbmips port

diffstat:

 usr.sbin/ldpd/socketops.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r dbe641f54794 -r 3c7f0db738a5 usr.sbin/ldpd/socketops.c
--- a/usr.sbin/ldpd/socketops.c Tue Nov 13 00:57:55 2012 +0000
+++ b/usr.sbin/ldpd/socketops.c Tue Nov 13 01:08:51 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: socketops.c,v 1.13 2012/11/12 22:51:42 christos Exp $ */
+/* $NetBSD: socketops.c,v 1.14 2012/11/13 01:08:51 pgoyette Exp $ */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -492,7 +492,7 @@
                if (sb < (ssize_t)(IPV6_HELLO_MSG_SIZE))
                    fatalp("send6 on %s: %s", ifb->ifa_name, strerror(errno));
                else
-                   debugp("Sent (IPv6) %lu bytes on %s"
+                   debugp("Sent (IPv6) %zd bytes on %s"
                        "(PDU: %d, Hello TLV: %d, CH: %d TR: %d)\n",
                        sb, ifb->ifa_name,
                        htons(spdu->length), htons(t->length),



Home | Main Index | Thread Index | Old Index