freebsd-skq/usr.sbin/mfiutil
Sergey Kandaurov 023c93f2c8 Fix division by zero, causing floating point exception in a drive progress
command.

It was possible to read a value of zero from a busy controller used
as the divisor to calculate the remaining rebuild time.

Reported by:	Pavel Udovenko <udovenko att nic.ru>
Discussed with:	jhb
Approved by:	kib (mentor)
MFC after:	1 week
2011-02-25 13:59:59 +00:00
..
Makefile
mfi_cmd.c
mfi_config.c
mfi_drive.c
mfi_evt.c
mfi_flash.c
mfi_patrol.c
mfi_show.c
mfi_volume.c
mfiutil.8
mfiutil.c
mfiutil.h