Index: sockstat.c =================================================================== --- sockstat.c (revision 265947) +++ sockstat.c (working copy) @@ -681,10 +681,10 @@ if ((pwd = getpwuid(xf->xf_uid)) == NULL) pos += xprintf("%lu ", (u_long)xf->xf_uid); else - pos += xprintf("%s ", pwd->pw_name); + pos += xprintf("%.8s ", pwd->pw_name); while (pos < 9) pos += xprintf(" "); - pos += xprintf("%.10s", getprocname(xf->xf_pid)); + pos += xprintf("%.10s ", getprocname(xf->xf_pid)); while (pos < 20) pos += xprintf(" "); pos += xprintf("%lu ", (u_long)xf->xf_pid);