summaryrefslogtreecommitdiff
path: root/pm/sleep.d/99video
diff options
context:
space:
mode:
authorMichael Biebl <mbiebl@gmail.com>2008-01-28 20:47:29 +0000
committerRichard Hughes <richard@hughsie.com>2008-01-28 20:47:29 +0000
commit9f6e1f5911168ce032e04f7a0f9ddc5ed67495bb (patch)
tree515143da8d66ee26a2d0d21fe31394a61a84485a /pm/sleep.d/99video
parent2963a225debe23edef4ec71049567ec01a6dda0c (diff)
This patch got rid of one usage of the usleep function. usleep is
redhat only ttbomk, so it's safer to simply use sleep. This patch replaces the remainig usleep in 99video with sleep.
Diffstat (limited to 'pm/sleep.d/99video')
-rwxr-xr-xpm/sleep.d/99video2
1 files changed, 1 insertions, 1 deletions
diff --git a/pm/sleep.d/99video b/pm/sleep.d/99video
index 9695e8b..cbba76f 100755
--- a/pm/sleep.d/99video
+++ b/pm/sleep.d/99video
@@ -40,7 +40,7 @@ resume_video()
# We might need to do one or many of these quirks
if [ "${DISPLAY_QUIRK_VBE_POST}" = "true" ]; then
vbe post
- usleep 100000
+ sleep 0.1
fi
if [ "${DISPLAY_QUIRK_VBESTATE_RESTORE}" = "true" ]; then
vbe vbestate restore < /var/run/vbestate