Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/routed update for GCC 6:
details: https://anonhg.NetBSD.org/src/rev/e498a7611d08
branches: trunk
changeset: 359284:e498a7611d08
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Feb 06 09:33:07 2018 +0000
description:
update for GCC 6:
- read_rt() has a missing {} issue.
diffstat:
sbin/routed/table.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r e3e121d5c932 -r e498a7611d08 sbin/routed/table.c
--- a/sbin/routed/table.c Tue Feb 06 09:31:56 2018 +0000
+++ b/sbin/routed/table.c Tue Feb 06 09:33:07 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: table.c,v 1.27 2016/12/20 03:35:12 ozaki-r Exp $ */
+/* $NetBSD: table.c,v 1.28 2018/02/06 09:33:07 mrg Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
@@ -36,7 +36,7 @@
#include "defs.h"
#ifdef __NetBSD__
-__RCSID("$NetBSD: table.c,v 1.27 2016/12/20 03:35:12 ozaki-r Exp $");
+__RCSID("$NetBSD: table.c,v 1.28 2018/02/06 09:33:07 mrg Exp $");
#elif defined(__FreeBSD__)
__RCSID("$FreeBSD$");
#else
@@ -1292,11 +1292,12 @@
gate = 0;
}
- if (INFO_AUTHOR(&info) != 0)
+ if (INFO_AUTHOR(&info) != 0) {
snprintf(strp, str + sizeof(str) - strp,
" by authority of %s",
saddr_ntoa(INFO_AUTHOR(&info)));
strp += strlen(strp);
+ }
switch (m.r.rtm.rtm_type) {
case RTM_ADD:
Home |
Main Index |
Thread Index |
Old Index