Module Name:    src
Committed By:   christos
Date:           Mon Nov 12 22:51:42 UTC 2012

Modified Files:
        src/usr.sbin/ldpd: socketops.c

Log Message:
fix the build; ssize_t is %zd not %lu


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/ldpd/socketops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/ldpd/socketops.c
diff -u src/usr.sbin/ldpd/socketops.c:1.12 src/usr.sbin/ldpd/socketops.c:1.13
--- src/usr.sbin/ldpd/socketops.c:1.12	Mon Nov 12 13:39:00 2012
+++ src/usr.sbin/ldpd/socketops.c	Mon Nov 12 17:51:42 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: socketops.c,v 1.12 2012/11/12 18:39:00 kefren Exp $ */
+/* $NetBSD: socketops.c,v 1.13 2012/11/12 22:51:42 christos Exp $ */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -436,7 +436,7 @@ send_hello(void)
 		if (sb < (ssize_t)(IPV4_HELLO_MSG_SIZE))
 		    fatalp("send: %s", strerror(errno));
 		else
-		    debugp("Sent (IP4) %lu bytes on %s"
+		    debugp("Sent (IP4) %zd bytes on %s"
 			"(PDU: %d, Hello TLV: %d, CH: %d, TR: %d)\n",
 			sb, ifb->ifa_name,
 			ntohs(spdu->length), ntohs(t->length),

Reply via email to