aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/hosts.go
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-04-19 18:41:49 -0400
committerSam Anthony <sam@samanthony.xyz>2025-04-19 18:41:49 -0400
commit78e093b138e2e0e1e90119e4de4edd75d6203651 (patch)
tree2c1ea5b309f3452c1d2583c994c12fbd2b1bad7d /hosts/hosts.go
parentd88453a853fa3b5b52f5bde2b3df2dff4e653ae6 (diff)
downloadhose-78e093b138e2e0e1e90119e4de4edd75d6203651.zip
add missing printf arg
Diffstat (limited to 'hosts/hosts.go')
-rw-r--r--hosts/hosts.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/hosts.go b/hosts/hosts.go
index e56451c..4f4728c 100644
--- a/hosts/hosts.go
+++ b/hosts/hosts.go
@@ -32,7 +32,7 @@ func Add(host Host) error {
i, ok := slices.BinarySearchFunc(hosts, host, cmpHost)
if ok {
- util.Logf("replacing host %q in known hosts file")
+ util.Logf("replacing host %q in known hosts file", host.Addr)
hosts[i] = host
} else {
hosts = slices.Insert(hosts, i, host)