[lldp-devel] [PATCH] vdptest fix format string to print type_version_id

Thomas Richter tmricht at linux.vnet.ibm.com
Tue Feb 19 07:51:35 UTC 2013


Forgot the format identifier to print the
value for the VSI type-version-identifier.

Signed-off-by: Thomas Richter <tmricht at linux.vnet.ibm.com>
---
 test/vdptest.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/test/vdptest.c b/test/vdptest.c
index 6646485..1b80879 100644
--- a/test/vdptest.c
+++ b/test/vdptest.c
@@ -280,7 +280,7 @@ static void showmsg(struct nlmsghdr *nlh, int *status)
 				    pvsi->vsi_type_id[1] << 8 |
 				    pvsi->vsi_type_id[0];
 				addit("\tIFLA_PORT_VSI_TYPE=mgr_id:%d "
-				    " type_id:%d typeid_version\n",
+				    " type_id:%d typeid_version:%d\n",
 				    pvsi->vsi_mgr_id, tid,
 				    pvsi->vsi_type_version);
 			}
-- 
1.7.1



More information about the lldp-devel mailing list