diff options
author | Marvin Borner | 2021-05-19 00:43:40 +0200 |
---|---|---|
committer | Marvin Borner | 2021-05-19 00:43:40 +0200 |
commit | 98df498e8e8a07e33cc77a059876b940cb9b3c6a (patch) | |
tree | 57a2ff0fab411c91fba5512827c18124b092aa5d /kernel/features/proc.c | |
parent | 45bfdffcb2e00fda595b3f9318469f6b0d29cbe4 (diff) |
Smashed some bugs
Diffstat (limited to 'kernel/features/proc.c')
-rw-r--r-- | kernel/features/proc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/features/proc.c b/kernel/features/proc.c index 574df68..4dd90c8 100644 --- a/kernel/features/proc.c +++ b/kernel/features/proc.c @@ -279,7 +279,7 @@ struct procfs_message { static res procfs_read(const char *path, void *buf, u32 offset, u32 count, struct vfs_dev *dev) { - (void)dev; + UNUSED(dev); u32 pid = 0; procfs_parse_path(&path, &pid); @@ -314,8 +314,8 @@ static res procfs_read(const char *path, void *buf, u32 offset, u32 count, struc static res procfs_perm(const char *path, enum vfs_perm perm, struct vfs_dev *dev) { - (void)path; - (void)dev; + UNUSED(path); + UNUSED(dev); if (perm == VFS_EXEC) return -EACCES; |