X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fstatd%2Fsvc_run.c;h=393a2fd84803ff5ef57ceffa613f767b1d8cecbd;hp=0adbbbeddeed5159ca5c4e6821e04e0686d45460;hb=430052cab3c8044ef6d1be7b5a5ded13c45d0c40;hpb=f2b24dbab2d61b7ddbab67db5c207b6e703e1f78 diff --git a/utils/statd/svc_run.c b/utils/statd/svc_run.c index 0adbbbe..393a2fd 100644 --- a/utils/statd/svc_run.c +++ b/utils/statd/svc_run.c @@ -98,12 +98,12 @@ my_svc_run(void) tv.tv_sec = NL_WHEN(notify) - now; tv.tv_usec = 0; - dprintf(L_DEBUG, "Waiting for reply... (timeo %d)", + dprintf(N_DEBUG, "Waiting for reply... (timeo %d)", tv.tv_sec); selret = select(FD_SETSIZE, &readfds, (void *) 0, (void *) 0, &tv); } else { - dprintf(L_DEBUG, "Waiting for client connections."); + dprintf(N_DEBUG, "Waiting for client connections."); selret = select(FD_SETSIZE, &readfds, (void *) 0, (void *) 0, (struct timeval *) 0); } @@ -113,7 +113,7 @@ my_svc_run(void) if (errno == EINTR || errno == ECONNREFUSED || errno == ENETUNREACH || errno == EHOSTUNREACH) continue; - log(L_ERROR, "my_svc_run() - select: %m"); + note(N_ERROR, "my_svc_run() - select: %m"); return; case 0: