diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-03 14:26:05 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-03 14:26:05 +0000 |
commit | 139456d3cb1a8c7be9e48d765eda23b15d8c8bad (patch) | |
tree | beda77a9181d9e274d066c6c466423325b8d8f8a /apps/examples/ostest/sighand.c | |
parent | f5d629b65b9588ddae1333f06aa392083c284949 (diff) | |
download | nuttx-139456d3cb1a8c7be9e48d765eda23b15d8c8bad.tar.gz nuttx-139456d3cb1a8c7be9e48d765eda23b15d8c8bad.tar.bz2 nuttx-139456d3cb1a8c7be9e48d765eda23b15d8c8bad.zip |
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
Diffstat (limited to 'apps/examples/ostest/sighand.c')
-rw-r--r-- | apps/examples/ostest/sighand.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/examples/ostest/sighand.c b/apps/examples/ostest/sighand.c index 46650be1c..66f98cb58 100644 --- a/apps/examples/ostest/sighand.c +++ b/apps/examples/ostest/sighand.c @@ -1,7 +1,7 @@ /*********************************************************************** - * examples/ostest/sighand.c + * apps/examples/ostest/sighand.c * - * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -160,7 +160,7 @@ static int waiter_main(int argc, char *argv[]) status = sem_wait(&sem); if (status != 0) { - int error = *get_errno_ptr(); + int error = errno; if (error == EINTR) { printf("waiter_main: sem_wait() successfully interrupted by signal\n" ); |