diff options
author | Freya Murphy <freya@freyacat.org> | 2025-05-06 12:33:57 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-05-06 12:33:57 -0400 |
commit | f485b63e72cc5bf29f134c3e033a21d4a52244d3 (patch) | |
tree | 5c2bf325ec02149d9171f3a03b6c000f3eaf615f /kernel/fs/tar.c | |
parent | pc spkr (diff) | |
download | comus-f485b63e72cc5bf29f134c3e033a21d4a52244d3.tar.gz comus-f485b63e72cc5bf29f134c3e033a21d4a52244d3.tar.bz2 comus-f485b63e72cc5bf29f134c3e033a21d4a52244d3.zip |
update fs
Diffstat (limited to 'kernel/fs/tar.c')
-rw-r--r-- | kernel/fs/tar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/fs/tar.c b/kernel/fs/tar.c index 061dd0c..8beebc6 100644 --- a/kernel/fs/tar.c +++ b/kernel/fs/tar.c @@ -113,7 +113,7 @@ static int tar_locate(struct file_system *fs, const char *path, return 1; } -int tar_read(struct file *in, char *buf, size_t len) +int tar_read(struct file *in, void *buf, size_t len) { struct tar_file *file = (struct tar_file *)in; size_t max_bytes = file->len - file->offset; @@ -135,7 +135,7 @@ int tar_read(struct file *in, char *buf, size_t len) return bytes; } -int tar_write(struct file *in, const char *buf, size_t len) +int tar_write(struct file *in, const void *buf, size_t len) { (void)in; (void)buf; |