Commit 69c92420 authored by Joseph Holsten's avatar Joseph Holsten Committed by Rob Pike

log/syslog: fix typo: change Wanring to Warning

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/11220044
parent 01bdeda8
...@@ -203,7 +203,7 @@ func (w *Writer) Err(m string) (err error) { ...@@ -203,7 +203,7 @@ func (w *Writer) Err(m string) (err error) {
return err return err
} }
// Wanring logs a message with severity LOG_WARNING, ignoring the // Warning logs a message with severity LOG_WARNING, ignoring the
// severity passed to New. // severity passed to New.
func (w *Writer) Warning(m string) (err error) { func (w *Writer) Warning(m string) (err error) {
_, err = w.writeAndRetry(LOG_WARNING, m) _, err = w.writeAndRetry(LOG_WARNING, m)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment