Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/lib/libc/net pullup 1.27 -> 1.28 (approved by releng-1-5)
details: https://anonhg.NetBSD.org/src/rev/2d80328f65be
branches: netbsd-1-5
changeset: 488772:2d80328f65be
user: itojun <itojun%NetBSD.org@localhost>
date: Thu Jul 27 16:07:03 2000 +0000
description:
pullup 1.27 -> 1.28 (approved by releng-1-5)
%-format pedant (always pass %s, don't use variable alone).
from openbsd.
diffstat:
lib/libc/net/res_debug.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4ab9c4b917c3 -r 2d80328f65be lib/libc/net/res_debug.c
--- a/lib/libc/net/res_debug.c Thu Jul 27 09:26:34 2000 +0000
+++ b/lib/libc/net/res_debug.c Thu Jul 27 16:07:03 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: res_debug.c,v 1.26 2000/04/25 13:26:03 itojun Exp $ */
+/* $NetBSD: res_debug.c,v 1.26.4.1 2000/07/27 16:07:03 itojun Exp $ */
/*-
* Copyright (c) 1985, 1990, 1993
@@ -81,7 +81,7 @@
static char sccsid[] = "@(#)res_debug.c 8.1 (Berkeley) 6/4/93";
static char rcsid[] = "Id: res_debug.c,v 8.20 1997/06/01 20:34:37 vixie Exp ";
#else
-__RCSID("$NetBSD: res_debug.c,v 1.26 2000/04/25 13:26:03 itojun Exp $");
+__RCSID("$NetBSD: res_debug.c,v 1.26.4.1 2000/07/27 16:07:03 itojun Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -239,7 +239,7 @@
sflag = (int)(_res.pfcode & pflag);
if ((n = ntohs(cnt)) != 0) {
if ((!_res.pfcode) || ((sflag) && (_res.pfcode & RES_PRF_HEAD1)))
- fprintf(file, hs);
+ fprintf(file, "%s", hs);
while (--n >= 0) {
if ((!_res.pfcode) || sflag) {
cp = p_rr(cp, msg, file);
Home |
Main Index |
Thread Index |
Old Index