ref: 98614a5308aace3b7fff78759d06a9b6fd5b150f
parent: 1a12079c7124c8ceb79a4644715d21bdf5328314
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sun Dec 22 12:31:59 EST 2019
check s9readdir return code
--- a/9pex.c
+++ b/9pex.c
@@ -576,7 +576,7 @@
}
i = num;
- if (s9readdir(c, tag, c9stp, &num, &f->diroffset, size) != 0)
+ if (s9do(s9readdir(c, tag, c9stp, &num, &f->diroffset, size), err) != 0)
return -1;
trace("<- Rread tag=%d ...\n", tag);
if (i != num)