mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 13:27:01 +08:00
write(): Fix a misplaced #endif
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user