diff options
-rw-r--r-- | src/ivcall.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ivcall.c b/src/ivcall.c index bccd290..7e953f9 100644 --- a/src/ivcall.c +++ b/src/ivcall.c @@ -426,7 +426,8 @@ int go(void) { int c, b; if ((c = detect_carrier(fd)) < 0) { - fprintf(stderr, "Failure reading DCD line: %s\n", strerror(errno)); + if (errno != EIO) + fprintf(stderr, "Failure reading DCD line: %s\n", strerror(errno)); goto fail; } else if (!c) { if (outgoing) { |