X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/a80376437ca7e774f41a43f33775f2c0b5b662a2..776f9530188a0313c258614b58f0b54eb2c99c56:/emufs/tipo3_main.c diff --git a/emufs/tipo3_main.c b/emufs/tipo3_main.c index 1ecd370..940931a 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 reg_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);