From a60a2e13a7ec15b87998d7885ee3b87e6f50d501 Mon Sep 17 00:00:00 2001 From: Quentin Garnier Date: Tue, 17 Mar 2015 14:12:12 +1100 Subject: [PATCH] Fix storage mode standard warning --- snmp_standard/mode/storage.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snmp_standard/mode/storage.pm b/snmp_standard/mode/storage.pm index 7cfa0016a..d1e4ba137 100644 --- a/snmp_standard/mode/storage.pm +++ b/snmp_standard/mode/storage.pm @@ -183,10 +183,10 @@ sub run { if ($total_size <= 0) { if ($multiple == 0) { $self->{output}->add_option_msg(severity => 'UNKNOWN', - short_msg => sprintf("Skipping storage '%d': total size is <= 0 (%s)", + short_msg => sprintf("Skipping storage '%s': total size is <= 0 (%s)", $name_storage, int($total_size))); } else { - $self->{output}->add_option_msg(long_msg => sprintf("Skipping storage '%d': total size is <= 0 (%s)", + $self->{output}->add_option_msg(long_msg => sprintf("Skipping storage '%s': total size is <= 0 (%s)", $name_storage, int($total_size))); } next;