diff --git a/prebuilt/common/bin/compcache b/prebuilt/common/bin/compcache index 2cd0bdef..bb3a3495 100755 --- a/prebuilt/common/bin/compcache +++ b/prebuilt/common/bin/compcache @@ -24,7 +24,7 @@ case "$1" in if [ $MODULE = ramzswap ]; then rzscontrol $DEV --disksize_kb=$2 --init else - echo "$((2 * 1024))" > $SYSFS_PATH/disksize + echo "$(($2 * 1024))" > $SYSFS_PATH/disksize mkswap $DEV >/dev/null fi swapon $DEV