From 4a3cd27df2c272a5dfb6c48c168287a8abb138d4 Mon Sep 17 00:00:00 2001 From: Steven E Wright Date: Tue, 6 Dec 2016 10:48:48 -0800 Subject: [PATCH] Fixes incorrect format specifier. --- client/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/main.cpp b/client/main.cpp index 481a23d..8959ecd 100644 --- a/client/main.cpp +++ b/client/main.cpp @@ -62,7 +62,7 @@ static void printServerList( vector list ) (*it)->getUuid( uuid ); macAddr =(*it)->getMacAddress(); wolTimeOut =(*it)->getWakeOnLanTimeout(); - printf("%Zu: Server IP[%s] UUID[%s] FriendlyName[%s] MacAddress[%s] WakeOnLanTimeout[%d]\n", + printf("%d: Server IP[%s] UUID[%s] FriendlyName[%s] MacAddress[%s] WakeOnLanTimeout[%d]\n", i+1, (*it)->getIpAddress().c_str(), uuid.c_str(), name.c_str(), macAddr.c_str(), wolTimeOut); }