Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2014 17:48:38 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r262104 - stable/10/cddl/contrib/opensolaris/cmd/zdb
Message-ID:  <201402171748.s1HHmcQv069311@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Mon Feb 17 17:48:38 2014
New Revision: 262104
URL: http://svnweb.freebsd.org/changeset/base/262104

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

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402171748.s1HHmcQv069311>