mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
Remove all usage of printf() from the OS. That is not an acceptable context for the use of an application-oriented interface that depends on a task-specific file descriptor and C buffered I/O.
This commit is contained in:
@@ -46,7 +46,6 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <fcntl.h>
|
||||
#include <semaphore.h>
|
||||
@@ -1366,7 +1365,7 @@ static int userfs_bind(FAR struct inode *blkdriver, FAR const void *data,
|
||||
ret = psock_socket(PF_INET, SOCK_DGRAM, 0, &priv->psock);
|
||||
if (ret < 0)
|
||||
{
|
||||
printf("client: ERROR socket failure %d\n", ret);
|
||||
ferr("ERROR: socket() failed: %d\n", ret);
|
||||
goto errout_with_alloc;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user