svn commit: r262105 - stable/9/cddl/contrib/opensolaris/cmd/zdb

Andriy Gapon avg at FreeBSD.org
Mon Feb 17 17:48:51 UTC 2014


Author: avg
Date: Mon Feb 17 17:48:50 2014
New Revision: 262105
URL: http://svnweb.freebsd.org/changeset/base/262105

Log:
  MFC r260811: zdb -R: do not treat numeric parameters to a flag as more flags

Modified:
  stable/9/cddl/contrib/opensolaris/cmd/zdb/zdb.c
Directory Properties:
  stable/9/cddl/contrib/opensolaris/   (props changed)

Modified: stable/9/cddl/contrib/opensolaris/cmd/zdb/zdb.c
==============================================================================
--- stable/9/cddl/contrib/opensolaris/cmd/zdb/zdb.c	Mon Feb 17 17:48:38 2014	(r262104)
+++ stable/9/cddl/contrib/opensolaris/cmd/zdb/zdb.c	Mon Feb 17 17:48:50 2014	(r262105)
@@ -2960,6 +2960,7 @@ zdb_read_block(char *thing, spa_t *spa)
 				free(dup);
 				return;
 			}
+			i += p - &flagstr[i + 1]; /* skip over the number */
 		}
 	}
 


More information about the svn-src-stable-9 mailing list