diff --git a/lease.go b/lease.go index 09dfd55..b7458d5 100644 --- a/lease.go +++ b/lease.go @@ -297,11 +297,11 @@ L: enc := gob.NewEncoder(buf) err := enc.Encode(leaseMap) if err != nil { - log.Fatalf("failed to encode, %w", err) + log.Fatalf("failed to encode, %v", err) } err = os.WriteFile(outfile, buf.Bytes(), 0644) if err != nil { - log.Fatalf("failed to write to file %v, %w", outfile, err) + log.Fatalf("failed to write to file %v, %v", outfile, err) } common.MyLog("lease saved to %v", outfile) return