diff options
author | dzwdz | 2022-09-20 23:35:33 +0200 |
---|---|---|
committer | dzwdz | 2022-09-20 23:35:33 +0200 |
commit | 3b8b63bf133e855d942abb67de931ce08b7a4452 (patch) | |
tree | 6df1767574053f61aab918d22374ef15465478ed /src/user/app/vterm/vterm.c | |
parent | 917833cbe99c2083895f7ca28af218270de964d1 (diff) |
shared: rename ufs_request to better fit its role in userland
The old name could have suggested that it held a response to a request
received by fs_wait. The new name is unfortunately very similar to
the `struct vfs_request` already used internally in the kernel, but
it's better at conveying that it contains a filesystem request yet to
be handled.
vfs_request - virtual filesystem request (a bad name in hindsight)
ufs_request - user filesystem request
Diffstat (limited to 'src/user/app/vterm/vterm.c')
-rw-r--r-- | src/user/app/vterm/vterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/app/vterm/vterm.c b/src/user/app/vterm/vterm.c index 102513d..bb60a34 100644 --- a/src/user/app/vterm/vterm.c +++ b/src/user/app/vterm/vterm.c @@ -38,7 +38,7 @@ int main(void) { font_load("/init/font.psf"); static char buf[512]; - struct fs_wait_response res; + struct ufs_request res; while (!c0_fs_wait(buf, sizeof buf, &res)) { switch (res.op) { case VFSOP_OPEN: |