Author: avg
Date: Fri Jan 17 10:18:45 2014
New Revision: 260811
URL: http://svnweb.freebsd.org/changeset/base/260811

Log:
  zdb -R: do not treat numeric parameters to a flag as more flags
  
  Reviewed by:  Matthew Ahrens <[email protected]>
  MFC after:    1 week

Modified:
  head/cddl/contrib/opensolaris/cmd/zdb/zdb.c

Modified: head/cddl/contrib/opensolaris/cmd/zdb/zdb.c
==============================================================================
--- head/cddl/contrib/opensolaris/cmd/zdb/zdb.c Fri Jan 17 09:11:44 2014        
(r260810)
+++ head/cddl/contrib/opensolaris/cmd/zdb/zdb.c Fri Jan 17 10:18:45 2014        
(r260811)
@@ -3012,6 +3012,7 @@ zdb_read_block(char *thing, spa_t *spa)
                                free(dup);
                                return;
                        }
+                       i += p - &flagstr[i + 1]; /* skip over the number */
                }
        }
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to