summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bind/lib/isc/print.c
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2019-12-17 01:46:30 +0000
committersthen <sthen@openbsd.org>2019-12-17 01:46:30 +0000
commit3ef32adf69b1fed9e0363dd1f2116627f09e6af3 (patch)
tree4d9d566691647dad37619d7bd9d1c7114f554bbe /usr.sbin/bind/lib/isc/print.c
parentAdd support for NCT6775F, NCT5104D, NCT6779D, NCT679[1235]D sensors. (diff)
downloadwireguard-openbsd-3ef32adf69b1fed9e0363dd1f2116627f09e6af3.tar.xz
wireguard-openbsd-3ef32adf69b1fed9e0363dd1f2116627f09e6af3.zip
update to 9.10.8-P1, last isc-licensed release
Diffstat (limited to 'usr.sbin/bind/lib/isc/print.c')
-rw-r--r--usr.sbin/bind/lib/isc/print.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/bind/lib/isc/print.c b/usr.sbin/bind/lib/isc/print.c
index 706acd4cf75..85ca9c96631 100644
--- a/usr.sbin/bind/lib/isc/print.c
+++ b/usr.sbin/bind/lib/isc/print.c
@@ -1,6 +1,5 @@
/*
- * Copyright (C) 2004-2008, 2010, 2014-2016 Internet Systems Consortium, Inc. ("ISC")
- * Copyright (C) 1999-2001, 2003 Internet Software Consortium.
+ * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -639,7 +638,7 @@ isc__print_printf(void (*emit)(char, void *), void *arg,
#else
assert("long doubles are not supported" == NULL);
#endif
- /*FALLTHROUGH*/
+ /* FALLTHROUGH */
case 'e':
case 'E':
case 'f':
@@ -691,7 +690,7 @@ isc__print_printf(void (*emit)(char, void *), void *arg,
pad--;
}
cp = buf;
- while (*cp != ' ')
+ while (*cp != '\0')
emit(*cp++, arg);
while (pad > 0) {
emit(' ', arg);