From 0f16640546ab46f15c792b543d25aefbd468c52e Mon Sep 17 00:00:00 2001 From: nyghtowl Date: Tue, 13 Sep 2022 16:24:38 -0700 Subject: [PATCH] net/dns: fix fmt error on Revert print Fixes #5619 Signed-off-by: nyghtowl --- net/dns/resolved.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/dns/resolved.go b/net/dns/resolved.go index a2a164577..07b008b34 100644 --- a/net/dns/resolved.go +++ b/net/dns/resolved.go @@ -205,7 +205,7 @@ func (m *resolvedManager) run(ctx context.Context) { // When ctx goes away systemd-resolved auto reverts. // Keeping for potential use in future refactor. if call := rManager.CallWithContext(ctx, dbusResolvedInterface+".RevertLink", 0, m.ifidx); call.Err != nil { - m.logf("[v1] RevertLink: %w", call.Err) + m.logf("[v1] RevertLink: %v", call.Err) return } return