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:
parent
01bdeda880
commit
69c924204b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user