diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-03-11 20:34:48 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-03-11 20:34:48 +0000 |
commit | 725cf1202858d1f324e67f67c1f4a6c4fea783d5 (patch) | |
tree | d4a3a33c3314016e389d810db2aa9368c4158952 /main/busybox/0001-beep-the-d-option-takes-milliseconds-not-microsecond.patch | |
parent | 4e6bbfd06ae9d7d01fad376157af2c6c22b47cbf (diff) | |
download | aports-725cf1202858d1f324e67f67c1f4a6c4fea783d5.tar.bz2 aports-725cf1202858d1f324e67f67c1f4a6c4fea783d5.tar.xz |
main/busybox: beep: fix -d option
fixes #320
Diffstat (limited to 'main/busybox/0001-beep-the-d-option-takes-milliseconds-not-microsecond.patch')
-rw-r--r-- | main/busybox/0001-beep-the-d-option-takes-milliseconds-not-microsecond.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/main/busybox/0001-beep-the-d-option-takes-milliseconds-not-microsecond.patch b/main/busybox/0001-beep-the-d-option-takes-milliseconds-not-microsecond.patch new file mode 100644 index 0000000000..15d8e10927 --- /dev/null +++ b/main/busybox/0001-beep-the-d-option-takes-milliseconds-not-microsecond.patch @@ -0,0 +1,25 @@ +From 4d277601bdd3717ff304b2eef9823cc4c17134e2 Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Thu, 11 Mar 2010 17:06:59 +0000 +Subject: [PATCH] beep: the -d option takes milliseconds not microseconds + +--- + miscutils/beep.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/miscutils/beep.c b/miscutils/beep.c +index c17cbfd..10768e7 100644 +--- a/miscutils/beep.c ++++ b/miscutils/beep.c +@@ -83,7 +83,7 @@ int beep_main(int argc, char **argv) + usleep(1000 * length); + ioctl(speaker, KIOCSOUND, (void*)0); + if (--rep) +- usleep(delay); ++ usleep(1000 * delay); + } + } + +-- +1.7.0.2 + |