diff options
author | Lennart Poettering <lennart@poettering.net> | 2003-07-27 20:07:54 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2003-07-27 20:07:54 +0000 |
commit | 8d9f40efba84c1580b79c84c27344e2674996fb2 (patch) | |
tree | bb5d8821e444c6be3af85c2d530ae33ce1b55c19 | |
parent | 67dcb975ad4bdc0a1de95d3f0270b87564556e02 (diff) |
little fix
git-svn-id: file:///home/lennart/svn/public/ivcall/trunk@6 e0b13411-74c3-0310-b366-a0654dd0340f
-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) { |