mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Rename file_close_detached() to juse file_close() for better consistency in naming.
This commit is contained in:
@@ -100,7 +100,7 @@ int bchdev_unregister(FAR const char *chardev)
|
||||
|
||||
ret = file_ioctl(&filestruct, DIOC_GETPRIV,
|
||||
(unsigned long)((uintptr_t)&bch));
|
||||
(void)file_close_detached(&filestruct);
|
||||
(void)file_close(&filestruct);
|
||||
|
||||
if (ret < 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user