summaryrefslogtreecommitdiff
path: root/tests/test-throttle.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2013-10-10 20:53:40 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2013-10-26 13:01:57 +0400
commit73f395fa88d87ae14f38ad0aa7f863148d98eef2 (patch)
treeb7aa13cc1f7b13dd1b2be398f3575b0e62fcbd2c /tests/test-throttle.c
parent2b170effc7a0bb27f019727e5be02cd989e54e7d (diff)
downloadqemu-73f395fa88d87ae14f38ad0aa7f863148d98eef2.tar.gz
misc: New spelling fixes in comments
compatiblity -> compatibility continously -> continuously existance -> existence usefull -> useful shoudl -> should Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'tests/test-throttle.c')
-rw-r--r--tests/test-throttle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-throttle.c b/tests/test-throttle.c
index 760812645b..1d4ffd3603 100644
--- a/tests/test-throttle.c
+++ b/tests/test-throttle.c
@@ -18,7 +18,7 @@ LeakyBucket bkt;
ThrottleConfig cfg;
ThrottleState ts;
-/* usefull function */
+/* useful function */
static bool double_cmp(double x, double y)
{
return fabsl(x - y) < 1e-6;
@@ -320,7 +320,7 @@ static void test_have_timer(void)
/* zero the structure */
memset(&ts, 0, sizeof(ts));
- /* no timer set shoudl return false */
+ /* no timer set should return false */
g_assert(!throttle_have_timer(&ts));
/* init the structure */