apps/graphics and netutils: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.

This commit is contained in:
Gregory Nutt
2016-06-14 17:53:47 -06:00
parent 65899c99e6
commit a50383db3d
29 changed files with 358 additions and 333 deletions

View File

@@ -109,7 +109,7 @@ void netlib_server(uint16_t portno, pthread_startroutine_t handler, int stacksiz
acceptsd = accept(listensd, (struct sockaddr*)&myaddr, &addrlen);
if (acceptsd < 0)
{
nerr("accept failure: %d\n", errno);
nerr("ERROR: accept failure: %d\n", errno);
break;
}
@@ -127,7 +127,7 @@ void netlib_server(uint16_t portno, pthread_startroutine_t handler, int stacksiz
if (ret < 0)
{
close(acceptsd);
nerr("setsockopt SO_LINGER failure: %d\n", errno);
nerr("ERROR: setsockopt SO_LINGER failure: %d\n", errno);
break;
}
#endif
@@ -145,7 +145,7 @@ void netlib_server(uint16_t portno, pthread_startroutine_t handler, int stacksiz
/* Close the connection */
close(acceptsd);
nerr("pthread_create failed\n");
nerr("ERROR: pthread_create failed\n");
if (ret == EAGAIN)
{