Use the correct volume identifier field when parsing MR_EVT_ARG_LD_STRIP

arguments.

MFC after:	2 weeks
This commit is contained in:
John Baldwin 2011-12-05 15:11:35 +00:00
parent 23ab37cb82
commit 1b202316ec

View File

@ -438,7 +438,7 @@ mfi_decode_evt(int fd, struct mfi_evt_detail *detail, int verbose)
printf(": "); printf(": ");
break; break;
case MR_EVT_ARGS_LD_STRIP: case MR_EVT_ARGS_LD_STRIP:
printf("VOL %s", volume_name(fd, &detail->args.ld_prog.ld)); printf("VOL %s", volume_name(fd, &detail->args.ld_strip.ld));
if (verbose) { if (verbose) {
printf(" strip %lld", printf(" strip %lld",
(long long)detail->args.ld_strip.strip); (long long)detail->args.ld_strip.strip);