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