xfs/279: use MKFS_XFS_PROG, not hardcoded path
[xfstests-dev.git] / tests / xfs / 279
index 872f8be05116a2bedf536d039968038a7efa5070..cde7d21e29f43b077d81992cf97530036abdfb47 100755 (executable)
@@ -62,7 +62,7 @@ _check_mkfs()
 {
        echo "===================" 
        echo "mkfs with opts: $@" | sed -e "s,/dev/sd.,DEVICE,"
-       /sbin/mkfs.xfs $@ 2>/dev/null > $tmp.mkfs.full
+       $MKFS_XFS_PROG $@ 2>/dev/null > $tmp.mkfs.full
        if [ $? -ne 0 ]; then
                echo "Failed."
                return