diff options
author | Julian Elischer <julian@FreeBSD.org> | 2007-10-26 15:25:28 +0000 |
---|---|---|
committer | Julian Elischer <julian@FreeBSD.org> | 2007-10-26 15:25:28 +0000 |
commit | cfe127f5bcf6ae6c7cb31fc0ec06675a0639dd67 (patch) | |
tree | c24bbd043b519cb330b37014c318af00e6124b5e /lib/libkvm | |
parent | 8d7b90cdd73e65f2b6876435630047ac1e4af586 (diff) | |
download | src-cfe127f5bcf6ae6c7cb31fc0ec06675a0639dd67.tar.gz src-cfe127f5bcf6ae6c7cb31fc0ec06675a0639dd67.zip |
Aparrently MACXOCOMLEN exisrts only on my machine
Notes
Notes:
svn path=/head/; revision=173025
Diffstat (limited to 'lib/libkvm')
-rw-r--r-- | lib/libkvm/kvm_proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libkvm/kvm_proc.c b/lib/libkvm/kvm_proc.c index 511003f6944c..c7629321838a 100644 --- a/lib/libkvm/kvm_proc.c +++ b/lib/libkvm/kvm_proc.c @@ -407,7 +407,7 @@ nopgrp: 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)); |