changeset 20586:3d5baab6151f

10205 Mounting zfs filesystems on startup shows incorrect data Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@joyent.com>
author Alexander Pyhalov <apyhalov@gmail.com>
date Thu, 10 Jan 2019 17:08:45 +0300
parents 60c9e764baaa
children 3ca5d7fa0f0e
files usr/src/cmd/zfs/zfs_main.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/cmd/zfs/zfs_main.c	Sun Jan 06 10:51:31 2019 +0200
+++ b/usr/src/cmd/zfs/zfs_main.c	Thu Jan 10 17:08:45 2019 +0300
@@ -6064,9 +6064,6 @@
 	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"));