From 053b0a65fa8e91e7e1905e7da27a948b88bea201 Mon Sep 17 00:00:00 2001 From: "Eric A. Miller" Date: Mon, 20 Jan 2014 22:02:00 -0500 Subject: [PATCH] fix formatting of debug message when zero entries are archived during macsuck --- Netdisco/lib/App/Netdisco/Core/Macsuck.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Netdisco/lib/App/Netdisco/Core/Macsuck.pm b/Netdisco/lib/App/Netdisco/Core/Macsuck.pm index 7426ce9e..100e9b9f 100644 --- a/Netdisco/lib/App/Netdisco/Core/Macsuck.pm +++ b/Netdisco/lib/App/Netdisco/Core/Macsuck.pm @@ -124,7 +124,7 @@ sub do_macsuck { time_last => { '<' => \$now }, })->update({ active => \'false' }); - debug sprintf ' [%s] macsuck - removed %s fwd table entries to archive', + debug sprintf ' [%s] macsuck - removed %d fwd table entries to archive', $ip, $archived; $device->update({last_macsuck => \$now});