Displaying 3 results from an estimated 3 matches for "ask_passwd".
2014 Nov 22
3
Use z size specifier for printf-ing size_t variable
...t;, len, pad, start);
if (start + len + pad > mboot_high_water_mark)
mboot_high_water_mark = start + len + pad;
diff --git a/com32/menu/menumain.c b/com32/menu/menumain.c
index b8cb06f..ed72c08 100644
--- a/com32/menu/menumain.c
+++ b/com32/menu/menumain.c
@@ -230,7 +230,7 @@ static int ask_passwd(const char *menu_entry)
for (x = 2; x <= WIDTH - 2 * PASSWD_MARGIN - 1; x++)
putchar('q');
- printf("j\017\033[%d;%dH\2#12 %s \033[%d;%dH\2#13",
+ printf("j\017\033[%d;%zdH\2#12 %s \033[%d;%dH\2#13",
PASSWD_ROW, (WIDTH - (strlen(cm->messages[MSG...
2015 Jan 25
0
Use z size specifier for printf-ing size_t variable
...rt + len + pad > mboot_high_water_mark)
> mboot_high_water_mark = start + len + pad;
> diff --git a/com32/menu/menumain.c b/com32/menu/menumain.c
> index b8cb06f..ed72c08 100644
> --- a/com32/menu/menumain.c
> +++ b/com32/menu/menumain.c
> @@ -230,7 +230,7 @@ static int ask_passwd(const char *menu_entry)
> for (x = 2; x <= WIDTH - 2 * PASSWD_MARGIN - 1; x++)
> putchar('q');
>
> - printf("j\017\033[%d;%dH\2#12 %s \033[%d;%dH\2#13",
> + printf("j\017\033[%d;%zdH\2#12 %s \033[%d;%dH\2#13",
> PASSWD_R...
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com>
This series fixes some bugs and switches the elflink branch to be
entirely ELF modules. It applies on top of,
http://syslinux.zytor.com/archives/2011-April/016369.html
The deletions in the diff stat below are mainly from deleting
com32/elflink/modules (finally!). Now there should be no duplicate
code because we don't need COM32 and