1
0
mirror of https://github.com/golang/go synced 2024-11-22 03:54:39 -07:00

log/syslog: fix typo: change Wanring to Warning

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/11220044
This commit is contained in:
Joseph Holsten 2013-07-14 12:56:11 +10:00 committed by Rob Pike
parent 01bdeda880
commit 69c924204b

View File

@ -203,7 +203,7 @@ func (w *Writer) Err(m string) (err error) {
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.
func (w *Writer) Warning(m string) (err error) {
_, err = w.writeAndRetry(LOG_WARNING, m)