Aparrently MACXOCOMLEN exisrts only on my machine

This commit is contained in:
Julian Elischer 2007-10-26 15:25:28 +00:00
parent 8d7b90cdd7
commit cfe127f5bc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173025

View File

@ -407,7 +407,7 @@ kvm_proclist(kd, what, arg, p, bp, maxcnt)
kp->ki_lastcpu = mtd.td_lastcpu;
kp->ki_wchan = mtd.td_wchan;
if (mtd.td_name[0] != 0)
strlcpy(kp->ki_ocomm, mtd.td_name, MAXOCOMLEN);
strlcpy(kp->ki_ocomm, mtd.td_name, MAXCOMLEN);
kp->ki_oncpu = mtd.td_oncpu;
if (mtd.td_name[0] != '\0')
strlcpy(kp->ki_ocomm, mtd.td_name, sizeof(kp->ki_ocomm));