From 139456d3cb1a8c7be9e48d765eda23b15d8c8bad Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 3 Apr 2011 14:26:05 +0000 Subject: New LIS331DL driver and VSN updates from Uros git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3457 42af7a65-404d-4744-a932-0658087f49c3 --- apps/examples/ostest/mqueue.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/examples/ostest/mqueue.c') diff --git a/apps/examples/ostest/mqueue.c b/apps/examples/ostest/mqueue.c index e68cfc012..95e6bbfc8 100644 --- a/apps/examples/ostest/mqueue.c +++ b/apps/examples/ostest/mqueue.c @@ -1,5 +1,5 @@ /************************************************************************** - * mqueue.c + * apps/examples/ostest/mqueue.c * * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -212,9 +212,9 @@ static void *receiver_thread(void *arg) * it is not a failure. */ - if (*get_errno_ptr() != EINTR) + if (errno != EINTR) { - printf("receiver_thread: ERROR mq_receive failure on msg %d, errno=%d\n", i, *get_errno_ptr()); + printf("receiver_thread: ERROR mq_receive failure on msg %d, errno=%d\n", i, errno); nerrors++; } else -- cgit v1.2.3