ejc wrote:
 #if defined (__DragonFly__)
+#if __DragonFly_version >= 190000
+ strlcpy(ps->name,p.kp_comm ? p.kp_comm : "????", + sizeof(ps->name));

that ternary isn't needed anymore, kp_comm is guaranteed to exist.

+#if __DragonFly_version >= 190000
+       strcpy(ps->status,(p.kp_stat>=1)&&(p.kp_stat<=5)? 
statuses[p.kp_stat-1]:"????");

stats changed, so you'd also need a new "statuses" array I guess.

cheers
 simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to