Bugfix: division by zero (-p -v) (rev. 7)

Signed-off-by: nixnodes <code@eth.si>