commit b0270b85186d7bca11981725fff13d6bbca5d760
parent f54e32cff2391f36feebe3fcad8ff1714391c642
Author: glenda <glenda@9front.local>
Date: Sat, 24 Jul 2021 16:04:47 +0000
devfs.c: add TODO
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/devfs.c b/devfs.c
@@ -38,7 +38,7 @@ devfs_write(Req *r)
if (f == cons){
char *buf;
buf = mallocz(r->ifcall.count + 1, 1);
- /*
+ /* TODO:
* + 1 is a hack to make sure string is \0 terminated
* we should send a struct that includes both data and size
* instead of simple char pointer.