summaryrefslogtreecommitdiffstats
path: root/test-virtserial.c
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2009-10-14 07:07:10 +0530
committerAmit Shah <amit.shah@redhat.com>2009-10-20 10:59:52 +0530
commit5e920b11d41e6967ab804ee67b454b79335a8647 (patch)
tree2a3c17b4387910a28c7a84f293a495f3f388df9f /test-virtserial.c
parentcc0c642214fefc49b48c19af6fb796e86a24fafc (diff)
downloadtest-virtserial-5e920b11d41e6967ab804ee67b454b79335a8647.tar.gz
test-virtserial-5e920b11d41e6967ab804ee67b454b79335a8647.tar.xz
test-virtserial-5e920b11d41e6967ab804ee67b454b79335a8647.zip
test-virtserial: set is_blocking to false after closing port
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'test-virtserial.c')
-rw-r--r--test-virtserial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test-virtserial.c b/test-virtserial.c
index 29167e9..58562ba 100644
--- a/test-virtserial.c
+++ b/test-virtserial.c
@@ -225,6 +225,7 @@ start:
return 0;
}
}
+ is_blocking = false;
/* File is opened. */
fds[0].fd = fd;
fds[0].events = POLLIN|POLLOUT;