pie-chart: netbsd like entropy error fix

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>