From 6c10aa19b88d3a3c602c725821f73b02d0cd2d58 Mon Sep 17 00:00:00 2001 From: Scott Lawrence Date: Wed, 9 Nov 2011 13:50:13 -0800 Subject: [PATCH] os/exec: Fix documentation references to os.DevNull R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/5372049 --- src/pkg/os/exec/exec.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pkg/os/exec/exec.go b/src/pkg/os/exec/exec.go index ebdfd54a73..4c95c1b0da 100644 --- a/src/pkg/os/exec/exec.go +++ b/src/pkg/os/exec/exec.go @@ -50,14 +50,14 @@ type Cmd struct { // calling process's current directory. Dir string - // Stdin specifies the process's standard input. - // If Stdin is nil, the process reads from DevNull. + // Stdin specifies the process's standard input. If Stdin is + // nil, the process reads from the null device (os.DevNull). Stdin io.Reader // Stdout and Stderr specify the process's standard output and error. // - // If either is nil, Run connects the - // corresponding file descriptor to /dev/null. + // If either is nil, Run connects the corresponding file descriptor + // to the null device (os.DevNull). // // If Stdout and Stderr are are the same writer, at most one // goroutine at a time will call Write. -- 2.50.0