Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/rtadvd adjust to new expandm.
details: https://anonhg.NetBSD.org/src/rev/1f115b135392
branches: trunk
changeset: 447475:1f115b135392
user: christos <christos%NetBSD.org@localhost>
date: Sat Jan 12 19:09:25 2019 +0000
description:
adjust to new expandm.
diffstat:
usr.sbin/rtadvd/rtadvd.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (20 lines):
diff -r e7df688f3573 -r 1f115b135392 usr.sbin/rtadvd/rtadvd.c
--- a/usr.sbin/rtadvd/rtadvd.c Sat Jan 12 19:08:24 2019 +0000
+++ b/usr.sbin/rtadvd/rtadvd.c Sat Jan 12 19:09:25 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtadvd.c,v 1.67 2019/01/11 20:41:53 christos Exp $ */
+/* $NetBSD: rtadvd.c,v 1.68 2019/01/12 19:09:25 christos Exp $ */
/* $KAME: rtadvd.c,v 1.92 2005/10/17 14:40:02 suz Exp $ */
/*
@@ -1856,8 +1856,7 @@
return;
}
- vfprintf(stderr, buf = expandm(fmt, "\n"), ap);
- if (buf != fmt)
- free(buf);
+ vfprintf(stderr, expandm(fmt, "\n", &buf), ap);
+ free(buf);
va_end(ap);
}
Home |
Main Index |
Thread Index |
Old Index