From 955aa188b3a28987e6ddca94888adc1e9946162d Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Tue, 23 Nov 2021 13:10:34 -0800 Subject: [PATCH] ipn/ipnlocal: fix logging We were missing an argument here. Also, switch to %q, in case anything weird is happening with these strings. Updates tailscale/corp#461 Signed-off-by: Josh Bleecher Snyder --- ipn/ipnlocal/local.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipn/ipnlocal/local.go b/ipn/ipnlocal/local.go index a9a96286a..563173151 100644 --- a/ipn/ipnlocal/local.go +++ b/ipn/ipnlocal/local.go @@ -1694,7 +1694,7 @@ func (b *LocalBackend) setPrefsLockedOnEntry(caller string, newp *ipn.Prefs) { // notified (to update its prefs/persist) on // account switch. Log this while we figure it // out. - b.logf("active login: %s ([unexpected] corp#461, not %s)", newp.Persist.LoginName) + b.logf("active login: %q ([unexpected] corp#461, not %q)", newp.Persist.LoginName, login) } } }