From 31a5535de1d7c4364588f89fb1924f414cd142d0 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 17 Mar 2007 22:40:30 +0000 Subject: [PATCH] Fix another backward memcpy git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@82 42af7a65-404d-4744-a932-0658087f49c3 --- sched/mq_send.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sched/mq_send.c b/sched/mq_send.c index 92400d9c43..a0172a1543 100644 --- a/sched/mq_send.c +++ b/sched/mq_send.c @@ -306,7 +306,7 @@ int mq_send(mqd_t mqdes, const void *msg, size_t msglen, int prio) /* Copy the message data into the message */ - memcpy((void*)msg, (const void*)curr->mail, msglen); + memcpy((const void*)curr->mail, (void*)msg, msglen); /* Insert the new message in the message queue */