X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/cba7ac4355bfc8feadd6490a253e9e4466ed5f8c..8f9c3d26bc64df642c510d2663adc42d3e45d97d:/emufs/emufs.c diff --git a/emufs/emufs.c b/emufs/emufs.c index 6425abd..ef22753 100644 --- a/emufs/emufs.c +++ b/emufs/emufs.c @@ -261,14 +261,14 @@ int ver_archivo_FS(EMUFS *emu) } fread(®,sizeof(reg),1,f_block_free); while ( !feof(f_block_free) ){ - printf(" Bloque = %li Espacio libre = %li\n",reg.n_marker, reg.n_freespace); + fprintf(stderr, " Bloque = %li Espacio libre = %li\n",reg.n_marker, reg.n_freespace); fread(®,sizeof(reg),1,f_block_free); } fclose(f_block_free); /* Imprimo la lista de bloques/registros */ - printf("BLOQUES Y REGISTROS\n"); + fprintf(stderr, "BLOQUES Y REGISTROS\n"); strcpy(name_f_block_free,emu->nombre); strcat(name_f_block_free,".idx"); { @@ -276,7 +276,7 @@ int ver_archivo_FS(EMUFS *emu) f_block_free = fopen(name_f_block_free, "r"); fread(&r, sizeof(EMUFS_IDX), 1, f_block_free); while (!feof(f_block_free)) { - printf("ID %li en bloque %li\n", r.n_idreg, r.n_location); + fprintf(stderr, "ID %li en bloque %li\n", r.id_reg, r.location); fread(&r, sizeof(EMUFS_IDX), 1, f_block_free); } fclose(f_block_free);