svn commit: r237051 - stable/7/usr.sbin/mptutil

Eitan Adler eadler at FreeBSD.org
Thu Jun 14 06:55:41 UTC 2012


Author: eadler
Date: Thu Jun 14 06:55:40 2012
New Revision: 237051
URL: http://svn.freebsd.org/changeset/base/237051

Log:
  MFC r236287:
  	add missing variable declaration when DEBUG is defined forgotten in r215046
  
  PR:		bin/166404
  Approved by:	cperciva (implicit)

Modified:
  stable/7/usr.sbin/mptutil/mpt_show.c
Directory Properties:
  stable/7/usr.sbin/mptutil/   (props changed)

Modified: stable/7/usr.sbin/mptutil/mpt_show.c
==============================================================================
--- stable/7/usr.sbin/mptutil/mpt_show.c	Thu Jun 14 06:55:16 2012	(r237050)
+++ stable/7/usr.sbin/mptutil/mpt_show.c	Thu Jun 14 06:55:40 2012	(r237051)
@@ -538,7 +538,7 @@ show_physdisks(int ac, char **av)
 {
 	CONFIG_PAGE_RAID_PHYS_DISK_0 *pinfo;
 	U16 IOCStatus;
-	int fd, i;
+	int error, fd, i;
 
 	if (ac != 1) {
 		warnx("show drives: extra arguments");


More information about the svn-src-all mailing list