summaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx')
-rw-r--r--nuttx/fs/aio/aio_write.c2
-rw-r--r--nuttx/sched/wqueue/kwork_process.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/fs/aio/aio_write.c b/nuttx/fs/aio/aio_write.c
index a3cf99cab..30062509e 100644
--- a/nuttx/fs/aio/aio_write.c
+++ b/nuttx/fs/aio/aio_write.c
@@ -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:
diff --git a/nuttx/sched/wqueue/kwork_process.c b/nuttx/sched/wqueue/kwork_process.c
index ea3d4e6d7..ef044a08e 100644
--- a/nuttx/sched/wqueue/kwork_process.c
+++ b/nuttx/sched/wqueue/kwork_process.c
@@ -42,6 +42,7 @@
#include <stdint.h>
#include <unistd.h>
#include <signal.h>
+#include <assert.h>
#include <queue.h>
#include <nuttx/clock.h>