projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was generated by cvs2svn to track changes on a CVS vendor
[unix-history]
/
usr.bin
/
netstat
/
unix.c
diff --git
a/usr.bin/netstat/unix.c
b/usr.bin/netstat/unix.c
index
a9225d5
..
c83ab4d
100644
(file)
--- a/
usr.bin/netstat/unix.c
+++ b/
usr.bin/netstat/unix.c
@@
-32,7
+32,9
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)unix.c 5.11 (Berkeley) 7/1/91";
+/* from: static char sccsid[] = "@(#)unix.c 5.11 (Berkeley) 7/1/91"; */
+static const char unix_c_rcsid[] =
+ "$Id: unix.c,v 1.4 1994/01/23 15:06:14 davidg Exp $";
#endif /* not lint */
/*
#endif /* not lint */
/*
@@
-133,7
+135,7
@@
unixdomainpr(so, soaddr)
} else
m = (struct mbuf *)0;
if (first) {
} else
m = (struct mbuf *)0;
if (first) {
- printf("Active
UNIX
domain sockets\n");
+ printf("Active
local
domain sockets\n");
printf(
"%-8.8s %-6.6s %-6.6s %-6.6s %8.8s %8.8s %8.8s %8.8s Addr\n",
"Address", "Type", "Recv-Q", "Send-Q",
printf(
"%-8.8s %-6.6s %-6.6s %-6.6s %8.8s %8.8s %8.8s %8.8s Addr\n",
"Address", "Type", "Recv-Q", "Send-Q",
@@
-145,7
+147,7
@@
unixdomainpr(so, soaddr)
unp->unp_vnode, unp->unp_conn,
unp->unp_refs, unp->unp_nextref);
if (m)
unp->unp_vnode, unp->unp_conn,
unp->unp_refs, unp->unp_nextref);
if (m)
- printf(" %.*s", m->m_len - sizeof(sa->sun_family),
+ printf(" %.*s", m->m_len - sizeof(sa->sun_family)
- 1
,
sa->sun_path);
putchar('\n');
}
sa->sun_path);
putchar('\n');
}