X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/294c557b0881b55093c4b89c475d38b77e3db9cb..f433f56391fae5c147650c0a4d53d4c0552c33b0:/tipo3/main.c diff --git a/tipo3/main.c b/tipo3/main.c index 2ef85af..41d9594 100644 --- a/tipo3/main.c +++ b/tipo3/main.c @@ -25,7 +25,7 @@ int main() fp = emufs_crear("articulos", T3, 220, 100); - + n1 = fp->grabar_registro(fp, a, 100); n2 = fp->grabar_registro(fp, c, 100); n3 = fp->grabar_registro(fp, d, 100); @@ -42,7 +42,7 @@ int main() printf("ID6 = %d\n", n6); printf("ID7 = %d\n", n7); - fp->leer_registro(fp, n7, b, 100); + fp->leer_registro(fp, n4, b, 100); printf("Ok\n"); printf("Recuperado : %s\n", b);