summaryrefslogtreecommitdiff
path: root/src/pkg/os/dir_plan9.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/os/dir_plan9.go')
-rw-r--r--src/pkg/os/dir_plan9.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/os/dir_plan9.go b/src/pkg/os/dir_plan9.go
index ebce6d83d..060c0b2e8 100644
--- a/src/pkg/os/dir_plan9.go
+++ b/src/pkg/os/dir_plan9.go
@@ -110,7 +110,7 @@ var nullDir = dir{
}
// Null assigns members of d with special "don't care" values indicating
-// they should not be written by syscall.Wstat.
+// they should not be written by syscall.Wstat.
func (d *dir) Null() {
*d = nullDir
}
@@ -118,7 +118,7 @@ func (d *dir) Null() {
// pdir appends a 9P Stat message based on the contents of Dir d to a byte slice b.
func pdir(b []byte, d *dir) []byte {
n := len(b)
- b = pbit16(b, 0) // length, filled in later
+ b = pbit16(b, 0) // length, filled in later
b = pbit16(b, d.Type)
b = pbit32(b, d.Dev)
b = pqid(b, d.Qid)