Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2014 17:48:51 +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-9@freebsd.org
Subject:   svn commit: r262105 - stable/9/cddl/contrib/opensolaris/cmd/zdb
Message-ID:  <201402171748.s1HHmp6a069385@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */
 		}
 	}
 



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