X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/cba7ac4355bfc8feadd6490a253e9e4466ed5f8c..776f9530188a0313c258614b58f0b54eb2c99c56:/emufs/emufs.c?ds=inline diff --git a/emufs/emufs.c b/emufs/emufs.c index 6425abd..8f68f82 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.n_idreg, r.n_location); fread(&r, sizeof(EMUFS_IDX), 1, f_block_free); } fclose(f_block_free);