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: j...@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"));
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to