summaryrefslogtreecommitdiff
path: root/src/kservice.c
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-04-14 03:49:49 +0000
committer[email protected] <[email protected]>2012-04-14 03:49:49 +0000
commitda93de9ddf731bd158a9d28dc09ac2e3911ec74f (patch)
treec72e5087dc79055faf597ab05f2a6fc99c6bab6c /src/kservice.c
parentf045d2d381ff875b5ff80d3c60f865564faa4fdc (diff)
fixed memmove issue, report by luoyuncong.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2043 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src/kservice.c')
-rw-r--r--src/kservice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kservice.c b/src/kservice.c
index 694cc735fa..da4d7980b6 100644
--- a/src/kservice.c
+++ b/src/kservice.c
@@ -279,7 +279,7 @@ void *rt_memmove(void *dest, const void *src, rt_ubase_t n)
s += n;
while (n--)
- *tmp-- = *s--;
+ *(--tmp) = *(--s);
}
else
{