Displaying 2 results from an estimated 2 matches for "7c39b7b".
2014 Nov 22
3
Use z size specifier for printf-ing size_t variable
...- printf("Memory segment at 0x%08x (len 0x%08x) is unavailable\n",
+ printf("Memory segment at 0x%08x (len 0x%08zx) is unavailable\n",
where, len);
goto bail; /* Memory region unavailable */
}
diff --git a/com32/sysdump/dmi.c b/com32/sysdump/dmi.c
index ce25efa..7c39b7b 100644
--- a/com32/sysdump/dmi.c
+++ b/com32/sysdump/dmi.c
@@ -65,7 +65,7 @@ static void dump_smbios(struct upload_backend *be, size_t dptr)
struct smbios_header smx = *smb;
char filename[32];
- snprintf(filename, sizeof filename, "dmi/%05x.%08x",
+ snprintf(filename, si...
2015 Jan 25
0
Use z size specifier for printf-ing size_t variable
...ailable\n",
> + printf("Memory segment at 0x%08x (len 0x%08zx) is unavailable\n",
> where, len);
> goto bail; /* Memory region unavailable */
> }
> diff --git a/com32/sysdump/dmi.c b/com32/sysdump/dmi.c
> index ce25efa..7c39b7b 100644
> --- a/com32/sysdump/dmi.c
> +++ b/com32/sysdump/dmi.c
> @@ -65,7 +65,7 @@ static void dump_smbios(struct upload_backend *be, size_t dptr)
> struct smbios_header smx = *smb;
> char filename[32];
>
> - snprintf(filename, sizeof filename, "dmi/%05x.%08x&...