diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.shlib b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.shlib index 075ad85e9f..3d142fdf70 100644 --- a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.shlib +++ b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.shlib @@ -68,11 +68,11 @@ function wait_for_action #pool timeout function { typeset pool=$1 typeset -i timeout=$2 - typeset func=$3 + typeset funct=$3 while [ $timeout -gt 0 ]; do (( --timeout )) - if ( $func $pool ); then + if ( $funct $pool ); then return 0 fi sleep 1