Show
Ignore:
Timestamp:
11/01/09 05:32:26 (3 years ago)
Author:
Pierre-Alexandre Meyer <pierre@…>
Children:
6e20c10dbc1b6740f94a01f74d6eeda8bb3a7ca4
Parents:
111fe227a44f170e91f2d6f57dd6ce285b67a56a
git-committer:
Pierre-Alexandre Meyer <pierre@mouraf.org> / 2009-10-31T22:32:26Z-0700
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 r78f771  
    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);