btrfs: fix local array declarations
[xfstests-dev.git] / tests / btrfs / 003
index 3ec3a2d9f998ba68da7a4eff940e2b7f0d5fef1a..3e6cc28c96e3610793dad2e6f7f130da70fa59f5 100755 (executable)
@@ -99,7 +99,7 @@ _test_single()
 _test_add()
 {
        local i
-       local devs[]="( $SCRATCH_DEV_POOL )"
+       local -a devs="( $SCRATCH_DEV_POOL )"
        local n=${#devs[@]}
 
        n=$(($n-1))