Index: ossp-pkg/snmpdx/snmpdx.pl RCS File: /v/ossp/cvs/ossp-pkg/snmpdx/snmpdx.pl,v rcsdiff -q -kk '-r1.12' '-r1.13' -u '/v/ossp/cvs/ossp-pkg/snmpdx/snmpdx.pl,v' 2>/dev/null --- snmpdx.pl 2004/07/28 13:00:58 1.12 +++ snmpdx.pl 2004/07/30 09:25:11 1.13 @@ -203,11 +203,11 @@ $expires = "1m" if (not defined($expires)); my $result = $self->{-cache}->fetch($cmd); if (defined($result)) { - $self->{-log}->printf(4, "system: run: \"$cmd\" ($expires) [CACHE HIT]"); + $self->{-log}->printf(4, "system: run: \"%s\" ($expires) [CACHE HIT]", $cmd); } else { - $self->{-log}->printf(3, "system: run: \"$cmd\" ($expires) [CACHE MISS]"); - $self->{-log}->printf(5, "system: executing command: \"$cmd\""); + $self->{-log}->printf(3, "system: run: \"%s\" ($expires) [CACHE MISS]", $cmd); + $self->{-log}->printf(5, "system: executing command: \"%s\"", $cmd); $result = { -stdout => '', -rv => 0 }; $result->{-stdout} = `$cmd 2>/dev/null`; $result->{-rv} = ($? >> 8);