Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libsa fix slightly wrong format.



details:   https://anonhg.NetBSD.org/src/rev/4ccd41d8d684
branches:  trunk
changeset: 760102:4ccd41d8d684
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Dec 26 23:55:52 2010 +0000

description:
fix slightly wrong format.

diffstat:

 sys/lib/libsa/udp.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f4b3e409a23e -r 4ccd41d8d684 sys/lib/libsa/udp.c
--- a/sys/lib/libsa/udp.c       Sun Dec 26 23:41:45 2010 +0000
+++ b/sys/lib/libsa/udp.c       Sun Dec 26 23:55:52 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: udp.c,v 1.9 2010/12/26 17:48:37 he Exp $       */
+/*     $NetBSD: udp.c,v 1.10 2010/12/26 23:55:52 christos Exp $        */
 
 /*
  * Copyright (c) 1992 Regents of the University of California.
@@ -127,7 +127,7 @@
        if (cc == -1)
                return -1;
        if ((size_t)cc != len)
-               panic("sendudp: bad write (%zd != %zd)", cc, len);
+               panic("sendudp: bad write (%zd != %zu)", cc, len);
        return (cc - (sizeof(*ip) + sizeof(*uh)));
 }
 



Home | Main Index | Thread Index | Old Index