fixed name issue
This commit is contained in:
parent
c9407907e3
commit
cac120353a
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user