X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/2cf0a2680095ad3021e82cb1d209aed69f14585d..eb6f85cae7e6a889c11f93203d8281b9ac64b7ce:/emufs/tipo3_main.c diff --git a/emufs/tipo3_main.c b/emufs/tipo3_main.c index 1ecd370..9be9a2d 100644 --- a/emufs/tipo3_main.c +++ b/emufs/tipo3_main.c @@ -41,6 +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; char a[100]; char b[100]; char c[100]; @@ -89,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, &err); + b_ptr = fp->leer_registro(fp, n2, &size, &err); printf("Recuperado : %s\n", b_ptr);