fixed name issue

This commit is contained in:
FactorialN 2023-10-29 16:02:08 -07:00
parent c9407907e3
commit cac120353a

View File

@ -45,7 +45,7 @@ public:
close(fd); close(fd);
} }
int read(off_t blockNumber, char *buffer){ int rawdisk_read(off_t blockNumber, char *buffer){
int fd; int fd;
fd = open(dir, O_RDONLY); fd = open(dir, O_RDONLY);
@ -77,7 +77,7 @@ public:
} }
int write(off_t blockNumber, char *buffer){ int rawdisk_write(off_t blockNumber, char *buffer){
int fd; int fd;
fd = open(dir, O_WRONLY); fd = open(dir, O_WRONLY);