summaryrefslogtreecommitdiff
path: root/src/shared/vfs.h
diff options
context:
space:
mode:
authordzwdz2021-09-11 18:04:57 +0200
committerdzwdz2021-09-11 18:04:57 +0200
commitaf2f9184e03015dc3b188ea437bbf496638000ce (patch)
tree4b4186d8df73bc1b96e14e5c8eadcf1a4f66692a /src/shared/vfs.h
parent0994192f6cab853f4a49ac73aa63f6820c886ec2 (diff)
replace `user_ptr` with a linux-style `__user` annotation
Diffstat (limited to 'src/shared/vfs.h')
-rw-r--r--src/shared/vfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/vfs.h b/src/shared/vfs.h
index 9419b11..69891bc 100644
--- a/src/shared/vfs.h
+++ b/src/shared/vfs.h
@@ -20,7 +20,7 @@ struct vfs_op {
int path_len;
} open;
struct {
- user_ptr buf;
+ char __user *buf;
int buf_len;
int id; // filled in by the kernel
} rw;