]> Cypherpunks repositories - gostls13.git/commitdiff
Fix a typo in net/unixsock
authorConrad Meyer <cemeyer@cs.washington.edu>
Wed, 5 May 2010 16:55:11 +0000 (09:55 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 5 May 2010 16:55:11 +0000 (09:55 -0700)
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/1113041

src/pkg/net/unixsock.go

index 7c0ae1ee62bd4969b41cfccd393f1b62ab73e3ce..93535130a2e7851e8577ac6d9a9e87e594012642 100644 (file)
@@ -278,7 +278,7 @@ func (c *UnixConn) WriteTo(b []byte, addr Addr) (n int, err os.Error) {
 }
 
 // DialUnix connects to the remote address raddr on the network net,
-// which must be "unix" or "unixdgram".  If laddr is not nil, it is used
+// which must be "unix" or "unixgram".  If laddr is not nil, it is used
 // as the local address for the connection.
 func DialUnix(net string, laddr, raddr *UnixAddr) (c *UnixConn, err os.Error) {
        fd, e := unixSocket(net, laddr, raddr, "dial")