diff options
author | jhb <jhb@FreeBSD.org> | 2014-05-18 15:28:25 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2014-05-18 15:28:25 +0000 |
commit | 4670db3f86733b03125d5881a2806efdd3defd14 (patch) | |
tree | 13cda8744aaf0cd7d4748ccd3a37e08959c361d6 /usr.sbin/mfiutil/mfi_show.c | |
parent | a7f85b6451b28d1eeec0045b8483305fd6296082 (diff) | |
download | FreeBSD-src-4670db3f86733b03125d5881a2806efdd3defd14.zip FreeBSD-src-4670db3f86733b03125d5881a2806efdd3defd14.tar.gz |
MFC 264765,264766:
- Don't claim the adapter is idle if it is clearing a drive.
- Fix an off by one error when checking for the stop event. This
resulted in not showing the most recent event by default.
- When the stop even is hit, break out of the outer loop to stop
fetching more events.
Diffstat (limited to 'usr.sbin/mfiutil/mfi_show.c')
-rw-r--r-- | usr.sbin/mfiutil/mfi_show.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mfiutil/mfi_show.c b/usr.sbin/mfiutil/mfi_show.c index f0f5bab..f541045 100644 --- a/usr.sbin/mfiutil/mfi_show.c +++ b/usr.sbin/mfiutil/mfi_show.c @@ -766,7 +766,7 @@ show_progress(int ac, char **av __unused) printf("drive %s ", mfi_drive_name(NULL, device_id, MFI_DNAME_DEVICE_ID|MFI_DNAME_HONOR_OPTS)); mfi_display_progress("Clear", &pinfo.prog_info.clear); - + busy = 1; } } |