Commit e5102b35 authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

doc: remove reference to deleted os.ENOSPC

R=golang-dev, gri, r, r
CC=golang-dev
https://golang.org/cl/5866046
parent 4a59be00
......@@ -2711,11 +2711,11 @@ field for recoverable failures.
<pre>
for try := 0; try &lt; 2; try++ {
file, err = os.Open(filename)
file, err = os.Create(filename)
if err == nil {
return
}
if e, ok := err.(*os.PathError); ok &amp;&amp; e.Err == os.ENOSPC {
if e, ok := err.(*os.PathError); ok &amp;&amp; e.Err == syscall.ENOSPC {
deleteTempFiles() // Recover some space.
continue
}
......
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