summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2021-02-16 16:40:35 +0000
committerRoy Marples <roy@marples.name>2021-02-16 16:40:35 +0000
commit06d77c3f4f98785ad5f41f05b6d977e6ebbb9ae4 (patch)
treef5074078975c9fac6f918da60eee4c4f42c6edf9
parent53d15176c1479ab14dad74ba7a97141f584ce25b (diff)
downloaddhcpcd-06d77c3f4f98785ad5f41f05b6d977e6ebbb9ae4.tar.xz
log a diagnostic here
-rw-r--r--src/control.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/control.c b/src/control.c
index ade13647..6eb42d13 100644
--- a/src/control.c
+++ b/src/control.c
@@ -104,6 +104,7 @@ control_handle_read(struct fd_list *fd)
if (bytes == -1 || bytes == 0) {
/* Control was closed or there was an error.
* Remove it from our list. */
+ logerr(__func__);
control_free(fd);
return;
}