svn commit: r228278 - head/usr.sbin/mfiutil

John Baldwin jhb at FreeBSD.org
Mon Dec 5 15:11:35 UTC 2011


Author: jhb
Date: Mon Dec  5 15:11:35 2011
New Revision: 228278
URL: http://svn.freebsd.org/changeset/base/228278

Log:
  Use the correct volume identifier field when parsing MR_EVT_ARG_LD_STRIP
  arguments.
  
  MFC after:	2 weeks

Modified:
  head/usr.sbin/mfiutil/mfi_evt.c

Modified: head/usr.sbin/mfiutil/mfi_evt.c
==============================================================================
--- head/usr.sbin/mfiutil/mfi_evt.c	Mon Dec  5 14:13:21 2011	(r228277)
+++ head/usr.sbin/mfiutil/mfi_evt.c	Mon Dec  5 15:11:35 2011	(r228278)
@@ -438,7 +438,7 @@ mfi_decode_evt(int fd, struct mfi_evt_de
 		printf(": ");
 		break;
 	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) {
 			printf(" strip %lld",
 			    (long long)detail->args.ld_strip.strip);


More information about the svn-src-head mailing list