X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=util.c;h=f5e0072031bd749b8a3b247a280a84f1b4a234c0;hb=6b99cd9349f4ee5a5af604dfe86df032024e9792;hp=84e76cc56f9c74d882e411a0115448aa0b9c91c5;hpb=39cf398b540b62077fbb9a64aa06a027523967bd;p=debian%2Felilo diff --git a/util.c b/util.c index 84e76cc..f5e0072 100644 --- a/util.c +++ b/util.c @@ -134,8 +134,10 @@ wait_timeout(UINTN timeout) ERR_PRT((L"waitkey WaitForEvent failed %r", status)); return -1; } + if (timeout % 10 == 1) Print(L"."); } while (timeout-- && idx == 0); + Print(L"\n"); /* * SetTimer(timer, TimerCancel, 0) is causing problems on IA-32 and gcc3 @@ -248,7 +250,7 @@ split_args(CHAR16 *buffer, CHAR16 *kname, CHAR16 *args) INTN read_file(UINTN fd, UINTN total_size, CHAR8 *buffer) { - INTN size, j=0; + UINTN size, j=0; EFI_STATUS status; CHAR16 helicopter[4] = { L'|' , L'/' , L'-' , L'\\' }; INTN ret = ELILO_LOAD_SUCCESS; @@ -315,7 +317,7 @@ get_memmap(mmap_desc_t *desc) } desc->map_size += ELILO_MEMMAP_INC; } - DBG_PRT((L"final get_memmap map_size=%ld", desc->map_size)); + DBG_PRT((L"final get_memmap map_size=%d", desc->map_size)); return 0; }