From 0ab32112e9ab9d241e49a7e24ea1a5793c96270a Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Sun, 1 Jan 2017 02:55:59 +0200 Subject: minor Change-Id: Ibf02ca9bb5e2f2a6e6c0a498dc8ce889069acb56 Signed-off-by: Yaroslav Brustinov --- src/platform_cfg.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/platform_cfg.cpp') diff --git a/src/platform_cfg.cpp b/src/platform_cfg.cpp index 6aae450b..92b4e7e9 100755 --- a/src/platform_cfg.cpp +++ b/src/platform_cfg.cpp @@ -345,10 +345,11 @@ void operator >> (const YAML::Node& node, CPlatformYamlInfo & plat_info) { /* must have interfaces */ const YAML::Node& interfaces = node["interfaces"]; if ( interfaces.size() > TREX_MAX_PORTS ) { - printf("ERROR: Maximal number of interfaces is: %d, and you have specified: %d.\n", + printf("ERROR: Maximal number of interfaces is: %d, you have specified: %d.\n", TREX_MAX_PORTS, (int) interfaces.size()); exit(-1); } + for(unsigned i=0;i