diff options
author | William Graham <waffle.iron@gmail.com> | 2011-04-10 16:25:16 -0500 |
---|---|---|
committer | Keyan Mobli <persiansown@gmail.com> | 2011-04-10 16:27:32 -0500 |
commit | 3f47346c3030aebc65f5f6a7a5d5622e158657c3 (patch) | |
tree | 7da076e6d16de486eeecb8c5fe409cbb099cd2df /prebuilt | |
parent | 08b94817c102339ee291aaafaf10f6e6e1e9e6fd (diff) | |
download | vendor_replicant-3f47346c3030aebc65f5f6a7a5d5622e158657c3.zip vendor_replicant-3f47346c3030aebc65f5f6a7a5d5622e158657c3.tar.gz vendor_replicant-3f47346c3030aebc65f5f6a7a5d5622e158657c3.tar.bz2 |
Fix compcache
Change-Id: Ib36051d48c232dc7b0bd6fdbb782847ca5ae6398
Diffstat (limited to 'prebuilt')
-rwxr-xr-x | prebuilt/common/bin/compcache | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prebuilt/common/bin/compcache b/prebuilt/common/bin/compcache index 2cd0bde..bb3a349 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 |