X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/a80376437ca7e774f41a43f33775f2c0b5b662a2..ec7d4a565379cd88c256198788960d559326e47a:/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);