From 42d635c2df4aaaec5afb2241e3d55ab5ae76bd0a Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Wed, 31 Jul 2024 00:06:18 -0400 Subject: [PATCH] dinahosting: Fix missing argument for log message format specifier Also use string interpolation for readability and to reduce the chances of reintroducing a bug like this in the future. --- ddclient.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddclient.in b/ddclient.in index 6278044..3c03573 100755 --- a/ddclient.in +++ b/ddclient.in @@ -6833,7 +6833,7 @@ sub nic_dinahosting_update { my $code = $1 // ''; $reply =~ /^errors_0_message = '(.*)'$/m; my $message = $1 // ''; - failed("updating %s: error %d: %s", $code, $message); + failed("updating $h: error $code: $message"); next; } $config{$h}{'ip'} = $ip;