Fix a couple of problems introduced in the last commmits
This commit is contained in:
parent
c317079f5c
commit
d2424ac65c
@ -141,7 +141,7 @@ static void aio_write_worker(FAR void *arg)
|
|||||||
int errcode = get_errno();
|
int errcode = get_errno();
|
||||||
fdbg("ERROR: fcntl failed: %d\n", errcode);
|
fdbg("ERROR: fcntl failed: %d\n", errcode);
|
||||||
aiocbp->aio_result = -errcode;
|
aiocbp->aio_result = -errcode;
|
||||||
goto errout:
|
goto errout;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Perform the write using:
|
/* Perform the write using:
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
#include <assert.h>
|
||||||
#include <queue.h>
|
#include <queue.h>
|
||||||
|
|
||||||
#include <nuttx/clock.h>
|
#include <nuttx/clock.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user