X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/195807904dee0a8ab038e233a4447aae455dfc46..85260e82dfbd2205f0e9e2d62bbd48db79149e99:/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);