X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/eb6f85cae7e6a889c11f93203d8281b9ac64b7ce..53cd4751dceea6f64354a7d7756b221e96ee544f:/emufs/tipo3_main.c diff --git a/emufs/tipo3_main.c b/emufs/tipo3_main.c index 9be9a2d..940931a 100644 --- a/emufs/tipo3_main.c +++ b/emufs/tipo3_main.c @@ -41,7 +41,7 @@ int main(int argc, char *argv[]) { EMUFS *fp; EMUFS_REG_ID n1, n2, n3, n4, n5, n6, n7, n8; - EMUFS_REG_SIZE size; + EMUFS_REG_SIZE reg_size; char a[100]; char b[100]; char c[100]; @@ -90,7 +90,7 @@ int main(int argc, char *argv[]) fp->borrar_registro(fp, n3); printf("borre el registro de id = %lu\n",n3); - b_ptr = fp->leer_registro(fp, n2, &size, &err); + b_ptr = fp->leer_registro(fp, n2, ®_size, &err); printf("Recuperado : %s\n", b_ptr);