Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/blacklist/port typo
details: https://anonhg.NetBSD.org/src/rev/6d2df3600a4e
branches: trunk
changeset: 335714:6d2df3600a4e
user: christos <christos%NetBSD.org@localhost>
date: Thu Jan 22 02:45:10 2015 +0000
description:
typo
diffstat:
external/bsd/blacklist/port/sockaddr_snprintf.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5fad131c8de2 -r 6d2df3600a4e external/bsd/blacklist/port/sockaddr_snprintf.c
--- a/external/bsd/blacklist/port/sockaddr_snprintf.c Thu Jan 22 02:42:56 2015 +0000
+++ b/external/bsd/blacklist/port/sockaddr_snprintf.c Thu Jan 22 02:45:10 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sockaddr_snprintf.c,v 1.3 2015/01/22 02:42:27 christos Exp $ */
+/* $NetBSD: sockaddr_snprintf.c,v 1.4 2015/01/22 02:45:10 christos Exp $ */
/*-
* Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
#endif
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: sockaddr_snprintf.c,v 1.3 2015/01/22 02:42:27 christos Exp $");
+__RCSID("$NetBSD: sockaddr_snprintf.c,v 1.4 2015/01/22 02:45:10 christos Exp $");
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
@@ -85,7 +85,7 @@
}
}
-#define SLEN(a) (uint8_t)MAX(sizeof(*(a), socklen((a)->a ## _family)
+#define SLEN(a) (uint8_t)MAX(sizeof(*(a)), socklen((a)->a ## _family))
#endif
Home |
Main Index |
Thread Index |
Old Index