svn commit: r344621 - head/cddl/contrib/opensolaris/cmd/zfs

Baptiste Daroussin bapt at FreeBSD.org
Wed Feb 27 13:49:42 UTC 2019


Author: bapt
Date: Wed Feb 27 13:49:41 2019
New Revision: 344621
URL: https://svnweb.freebsd.org/changeset/base/344621

Log:
  Fix a regression introduced in r344569
  
  Import a fix from illumos (thanks Toomas Soomas for pointing at it)
  
  See https://www.illumos.org/issues/10205 for more details
  Illumos commit: https://github.com/illumos/illumos-gate/commit/247b7da039fd88350c50e3d7fef15bdab6bef215
  
  Submitted by:	jack at gandi.net
  Reported by:	cy
  Reviewed by:	tsoome, cy, bapt
  Obtained from:	Illumos

Modified:
  head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c

Modified: head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c
==============================================================================
--- head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c	Wed Feb 27 13:24:42 2019	(r344620)
+++ head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c	Wed Feb 27 13:49:41 2019	(r344621)
@@ -6119,9 +6119,6 @@ report_mount_progress(int current, int total)
 	time_t now = time(NULL);
 	char info[32];
 
-	/* report 1..n instead of 0..n-1 */
-	++current;
-
 	/* display header if we're here for the first time */
 	if (current == 1) {
 		set_progress_header(gettext("Mounting ZFS filesystems"));


More information about the svn-src-head mailing list