Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libsa correct debug message, d->myport has network b...
details: https://anonhg.NetBSD.org/src/rev/2badd90b2d60
branches: trunk
changeset: 449989:2badd90b2d60
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Sun Mar 31 16:14:48 2019 +0000
description:
correct debug message, d->myport has network byte order.
diffstat:
sys/lib/libsa/udp.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 05ab2d82b8fe -r 2badd90b2d60 sys/lib/libsa/udp.c
--- a/sys/lib/libsa/udp.c Sun Mar 31 16:09:14 2019 +0000
+++ b/sys/lib/libsa/udp.c Sun Mar 31 16:14:48 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udp.c,v 1.11 2011/05/11 16:23:40 zoltan Exp $ */
+/* $NetBSD: udp.c,v 1.12 2019/03/31 16:14:48 mlelstv Exp $ */
/*
* Copyright (c) 1992 Regents of the University of California.
@@ -117,7 +117,7 @@
#ifdef NET_DEBUG
if (debug)
printf("readudp: bad dport %d != %d\n",
- d->myport, ntohs(uh->uh_dport));
+ ntohs(d->myport), ntohs(uh->uh_dport));
#endif
return -1;
}
Home |
Main Index |
Thread Index |
Old Index