X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/195807904dee0a8ab038e233a4447aae455dfc46..294c557b0881b55093c4b89c475d38b77e3db9cb:/tipo3/emufs.c diff --git a/tipo3/emufs.c b/tipo3/emufs.c index e696d86..cc30d93 100644 --- a/tipo3/emufs.c +++ b/tipo3/emufs.c @@ -141,10 +141,10 @@ int ver_archivo_FS(EMUFS *emu) printf("no pude abrir el archivo %s\n",name_f_block_free); return -1; } - + fread(®,sizeof(reg),1,f_block_free); while ( !feof(f_block_free) ){ - fread(®,sizeof(reg),1,f_block_free); printf(" Bloque = %d Espacio libre = %d\n",reg.block, reg.free_space); + fread(®,sizeof(reg),1,f_block_free); } fclose(f_block_free);