X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/e0748aab538eb09d53d767a305aaccc86489bf23..885b60b3ea2aed49543ea87490ff971a68a5c2f1:/tipo3/main.c diff --git a/tipo3/main.c b/tipo3/main.c index 9164ac6..1d7cac1 100644 --- a/tipo3/main.c +++ b/tipo3/main.c @@ -34,22 +34,21 @@ int main() n6 = fp->grabar_registro(fp, g, 100); n7 = fp->grabar_registro(fp, h, 100); - printf("ID1 = %d\n", n1); - printf("ID2 = %d\n", n2); - printf("ID3 = %d\n", n3); - printf("ID4 = %d\n", n4); - printf("ID5 = %d\n", n5); - printf("ID6 = %d\n", n6); - printf("ID7 = %d\n", n7); + printf("ID0 = %d\n", n1); + printf("ID1 = %d\n", n2); + printf("ID2 = %d\n", n3); + printf("ID3 = %d\n", n4); + printf("ID4 = %d\n", n5); + printf("ID5 = %d\n", n6); + printf("ID6 = %d\n", n7); - fp->leer_registro(fp, n4, b, 100); + fp->leer_registro(fp, n6, b, 100); printf("Ok\n"); printf("Recuperado : %s\n", b); ver_archivo_FS(fp); - printf("pase\n"); emufs_destruir(fp); return 0; }