From 9ed8385a2f07f6e31e71ca2e0ed7805a165ab4e0 Mon Sep 17 00:00:00 2001 From: Fulvio Scapin <30527365+zx-fulvio@users.noreply.github.com> Date: Mon, 31 Aug 2020 12:31:55 +0200 Subject: [PATCH] Fix regex match for iostat output in zmstat-io --- src/libexec/zmstat-io | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libexec/zmstat-io b/src/libexec/zmstat-io index a359e2aa2..fb52fc8e8 100755 --- a/src/libexec/zmstat-io +++ b/src/libexec/zmstat-io @@ -86,7 +86,7 @@ sub getHeading($) { while ($line !~ /^Device/) { $line = readLine(*HEADING, 1); } - $line =~ s/^Device\s+//; + $line =~ s/^Device:?\s+//; my @devs; my @dev_cols = split('\s+', $line); $line = readLine(*HEADING, 1);