mirror of
https://github.com/apache/nuttx.git
synced 2026-08-16 01:43:15 +00:00
write(): Fix a misplaced #endif
This commit is contained in:
parent
018eb7c1d2
commit
03a58b2ebc
1 changed files with 1 additions and 1 deletions
|
|
@ -209,8 +209,8 @@ ssize_t write(int fd, FAR const void *buf, size_t nbytes)
|
|||
|
||||
ret = file_write(filep, buf, nbytes);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
leave_cancellation_point();
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue