summaryrefslogtreecommitdiff
path: root/pm
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-04-12 08:26:17 -0500
committerVictor Lowther <victor.lowther@gmail.com>2008-04-12 08:26:17 -0500
commite6219e13d19c741c24822da40e20d37b81b3be5a (patch)
tree53cd1ae8d086bd9e480b7119e979f53f6e5a6fb9 /pm
parent69456c003c8a03e809f88f159aeaa05d35134b71 (diff)
Fixed arithmetic expansion bug in uswsusp found by checkbashisms.
Diffstat (limited to 'pm')
-rwxr-xr-xpm/module.d/uswsusp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pm/module.d/uswsusp b/pm/module.d/uswsusp
index be502dc..8a5ee3b 100755
--- a/pm/module.d/uswsusp
+++ b/pm/module.d/uswsusp
@@ -17,8 +17,8 @@ get_quirks()
dpms-suspend) ;; # no-op
radeon-off) OPTS="$OPTS --radeontool" ;;
reset-brightness) ;; # no-op
- s3-bios) ACPI_SLEEP=$((ACPI_SLEEP + 1)) ;;
- s3-mode) ACPI_SLEEP=$((ACPI_SLEEP + 2)) ;;
+ s3-bios) ACPI_SLEEP=$(($ACPI_SLEEP + 1)) ;;
+ s3-mode) ACPI_SLEEP=$(($ACPI_SLEEP + 2)) ;;
vbe-post) OPTS="$OPTS --vbe_post" ;;
vbemode-restore) OPTS="$OPTS --vbe_mode" ;;
vbestate-restore) OPTS="$OPTS --vbe_save" ;;