Imported Upstream version 3.10
[debian/elilo] / util.c
diff --git a/util.c b/util.c
index 84e76cc56f9c74d882e411a0115448aa0b9c91c5..f5e0072031bd749b8a3b247a280a84f1b4a234c0 100644 (file)
--- 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;
 }