Show
Ignore:
Timestamp:
11/01/09 12:05:07 (3 years ago)
Author:
Erwan Velu <erwan.velu@…>
Children:
079f92a31281573b8a7b152b1730e7a349ac6365
Parents:
a7f6dd2b9fc3f8ad29a05135c99288156961329b
git-author:
Pierre-Alexandre Meyer <pierre@mouraf.org> / 2009-10-31T22:32:26Z-0700
git-committer:
Erwan Velu <erwan.velu@free.fr> / 2009-11-01T13:05:07Z+0100
Message:

hdt: change remaining printf to more_printf (CLI)

A lot of places still had printf() instead of more_printf().
This patch does a bulk update and add missing reset_more_printf(),
used to reset the pager counter between each command call.

This also changes the more_printf() routine to delete the "--More--"
line while scrolling.

Signed-off-by: Pierre-Alexandre Meyer <pierre@…>

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • com32/hdt/hdt-cli-vpd.c

    r569617 rdff898  
    4040 
    4141        if (!hardware->is_vpd_valid) { 
    42                 printf("No VPD structure detected.\n"); 
     42                more_printf("No VPD structure detected.\n"); 
    4343                return; 
    4444        } 
    4545 
    46         printf("VPD present at address : 0x%s\n", hardware->vpd.base_address); 
     46        more_printf("VPD present at address : 0x%s\n", hardware->vpd.base_address); 
    4747        if (strlen(hardware->vpd.bios_build_id) > 0) 
    4848                more_printf("Bios Build ID                 : %s\n", hardware->vpd.bios_build_id);