Module Name: src Committed By: christos Date: Sun Dec 26 23:55:52 UTC 2010
Modified Files: src/sys/lib/libsa: udp.c Log Message: fix slightly wrong format. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/lib/libsa/udp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/lib/libsa/udp.c diff -u src/sys/lib/libsa/udp.c:1.9 src/sys/lib/libsa/udp.c:1.10 --- src/sys/lib/libsa/udp.c:1.9 Sun Dec 26 12:48:37 2010 +++ src/sys/lib/libsa/udp.c Sun Dec 26 18:55:52 2010 @@ -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))); }