Fix a couple of problems introduced in the last commmits

This commit is contained in:
Gregory Nutt 2014-10-11 08:29:26 -06:00
parent c317079f5c
commit d2424ac65c
2 changed files with 2 additions and 1 deletions

View File

@ -141,7 +141,7 @@ static void aio_write_worker(FAR void *arg)
int errcode = get_errno();
fdbg("ERROR: fcntl failed: %d\n", errcode);
aiocbp->aio_result = -errcode;
goto errout:
goto errout;
}
/* Perform the write using:

View File

@ -42,6 +42,7 @@
#include <stdint.h>
#include <unistd.h>
#include <signal.h>
#include <assert.h>
#include <queue.h>
#include <nuttx/clock.h>