ref: 76ddc13f7d22c5ba35c56b9073ec0ca4c85446f0
parent: e93e6aaccad8b75eebafc500caf73dac8a9aabc7
parent: 6971ee1bf57435a8cf1d7b6936599bec126516cd
author: Ori Bernstein <[email protected]>
date: Sat Sep 26 09:03:30 EDT 2020
merge
--- a/kern/devfs-posix.c
+++ b/kern/devfs-posix.c
@@ -305,7 +305,8 @@
static long
fsread(Chan *c, void *va, long n, vlong offset)
{
- int fd, r;
+ int fd;
+ vlong r;
Ufsinfo *uif;
/*print("fsread %s\n", chanpath(c));*/
@@ -340,7 +341,8 @@
static long
fswrite(Chan *c, void *va, long n, vlong offset)
{
- int fd, r;
+ int fd;
+ vlong r;
Ufsinfo *uif;
uif = c->aux;