net/dns: fix fmt error on Revert print

Fixes #5619

Signed-off-by: nyghtowl <warrick@tailscale.com>
(cherry picked from commit 0f16640546)
This commit is contained in:
nyghtowl 2022-09-13 16:24:38 -07:00 committed by Brad Fitzpatrick
parent 0345649d05
commit 50aa6ed5e4

View File

@ -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