X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/8190084c46a37139904c2a0114a2d3020f48282a..064dc9896dce3d936a5876b927cece0f44808912:/tipo3/main.c diff --git a/tipo3/main.c b/tipo3/main.c index 0e38cc5..09fb9d5 100644 --- a/tipo3/main.c +++ b/tipo3/main.c @@ -7,7 +7,7 @@ int main() EMUFS *fp; char a[] = "1234567890"; int n; - char b[101]; + char b[100]; fp = emufs_crear("articulos", T3, 512, 100); @@ -15,11 +15,13 @@ int main() printf("ID = %d\n", n); - fp->leer_registro(fp, n, b, 20); + fp->leer_registro(fp, n, b, 100); printf("Ok\n"); printf("Recuperado : %s\n", b); emufs_destruir(fp); + + MD_Listar(); return 0; }