X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ffilesys%2Ffile.c;h=8969e179e093ec6c9fd540e995867cfb08ba198f;hb=41cc2728b06b5e1eeb4cf5a4979692640049e047;hp=e16ff5fc695630cc55b4571f36d27a9d1f3e3fbb;hpb=aa9a8ed3132ec405c8362b3fddf3868871fb7993;p=pintos-anon diff --git a/src/filesys/file.c b/src/filesys/file.c index e16ff5f..8969e17 100644 --- a/src/filesys/file.c +++ b/src/filesys/file.c @@ -7,7 +7,7 @@ #include "filesys.h" bool -file_open (struct file *file, disk_sector_no hdr_sector) +file_open (struct file *file, disk_sector_t hdr_sector) { file->hdr = filehdr_read (hdr_sector); file->bounce = malloc (DISK_SECTOR_SIZE);