structs.go
changeset 105 aa895dfae3f6
parent 102 872e936f9f3f
child 107 3a01bd8e3f8c
--- a/structs.go	Sun Dec 16 15:24:55 2012 -0700
+++ b/structs.go	Sun Dec 16 15:54:39 2012 -0700
@@ -274,7 +274,7 @@
 func (er *Error) Error() string {
 	buf, err := xml.Marshal(er)
 	if err != nil {
-		Warn.Logf("double bad error: couldn't marshal error")
+		Warn.Log("double bad error: couldn't marshal error")
 		return "unreadable error"
 	}
 	return string(buf)