summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pkg/net/unixsock.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/net/unixsock.go b/src/pkg/net/unixsock.go
index 7c0ae1ee6..93535130a 100644
--- a/src/pkg/net/unixsock.go
+++ b/src/pkg/net/unixsock.go
@@ -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")