Date: Wed, 27 Feb 2019 13:49:42 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r344621 - head/cddl/contrib/opensolaris/cmd/zfs Message-ID: <201902271349.x1RDng8M092777@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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"));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902271349.x1RDng8M092777>