aboutsummaryrefslogtreecommitdiff
path: root/os/port/sysfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/port/sysfile.c')
-rw-r--r--os/port/sysfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/os/port/sysfile.c b/os/port/sysfile.c
index 6f73da2..143d29d 100644
--- a/os/port/sysfile.c
+++ b/os/port/sysfile.c
@@ -106,6 +106,7 @@ kchanio(void *vc, void *buf, int n, int mode)
r = devtab[c->type]->read(c, buf, n, c->offset);
else
r = devtab[c->type]->write(c, buf, n, c->offset);
+printf("%s:%d mode=%d, r=%d\n", __func__, __LINE__, mode, r);
lock(c);
c->offset += r;