Fix potential division by zero after r275920.

Reported by:	Coverity Scan
CID:		1260387
MFC after:	3 days