summaryrefslogtreecommitdiffstats
path: root/src/fat_adv.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-04-03 00:22:31 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-04-03 00:22:31 +0200
commit5bc721de8ee62310fdca321e4462192138afd86a (patch)
tree66c4ebd8e379b6bd7a05872c358ec9b15e519940 /src/fat_adv.c
parent1739339385ca8e02bf7827bdc4c9004f67e967b6 (diff)
code cleanup: rename aff_buffer()
Diffstat (limited to 'src/fat_adv.c')
-rw-r--r--src/fat_adv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fat_adv.c b/src/fat_adv.c
index 55076fa..cd06579 100644
--- a/src/fat_adv.c
+++ b/src/fat_adv.c
@@ -1774,13 +1774,13 @@ static upart_type_t select_fat_info(const info_offset_t *info_offset, const unsi
{ 'Q', "Proceed","Set FAT table location"},
{ 0, NULL, NULL }
};
- aff_buffer(BUFFER_RESET,"Q");
- aff_buffer(BUFFER_ADD,"Potential FAT location\n");
- aff_buffer(BUFFER_ADD,"FAT - sector - score\n");
+ screen_buffer_to_log();
+ screen_buffer_add("Potential FAT location\n");
+ screen_buffer_add("FAT - sector - score\n");
for(i=0;i<nbr_offset;i++)
{
if(nbr_offset<30 || info_offset[i].nbr>1)
- aff_buffer(BUFFER_ADD," %02d %8lu %u\n",info_offset[i].fat_type,info_offset[i].offset,info_offset[i].nbr);
+ screen_buffer_add(" %02d %8lu %u\n",info_offset[i].fat_type,info_offset[i].offset,info_offset[i].nbr);
if(info_offset[i].fat_type<32)
{
reserved_can_be_one=1;