}
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");
{
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.n_idreg, r.n_location);
fread(&r, sizeof(EMUFS_IDX), 1, f_block_free);
}
fclose(f_block_free);