tcpdir should be NETPATHLEN bytes long, not 64. It ensures that overflow error is consistent with the system limit. Reference: /n/sources/patch/applied/hget-tcpdir Date: Mon Apr 5 23:19:31 CES 2004 --- /sys/src/cmd/hget.c Mon Apr 5 23:19:31 2004 +++ /sys/src/cmd/hget.c Mon Apr 5 23:19:31 2004 @@ -61,7 +61,7 @@ int verbose; char *net; -char tcpdir[64]; +char tcpdir[NETPATHLEN]; int headerprint; struct {