search for: upload_backend

Displaying 7 results from an estimated 7 matches for "upload_backend".

2014 May 08
2
compile error about 6.0.2
.../libupload/cpio.c:11: /mlsyslinux/com32/include/sys/types.h:12: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?ssize_t? /mlsyslinux/com32/include/sys/types.h:14: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?off_t? In file included from /mlsyslinux/com32/libupload/upload_backend.h:8, from /mlsyslinux/com32/libupload/cpio.c:12: /mlsyslinux/com32/libupload/serial.h:15: error: expected declaration specifiers or ?...? before ?size_t? /mlsyslinux/com32/libupload/serial.h:16: error: expected declaration specifiers or ?...? before ?size_t? In file included from /...
2014 May 08
0
compile error about 6.0.2
....c:11: > /mlsyslinux/com32/include/sys/types.h:12: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?ssize_t? > /mlsyslinux/com32/include/sys/types.h:14: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?off_t? > In file included from /mlsyslinux/com32/libupload/upload_backend.h:8, > from /mlsyslinux/com32/libupload/cpio.c:12: > /mlsyslinux/com32/libupload/serial.h:15: error: expected declaration specifiers or ?...? before ?size_t? > /mlsyslinux/com32/libupload/serial.h:16: error: expected declaration specifiers or ?...? before ?size_t? > In...
2014 May 12
2
compile error about 6.0.2
....c:11: > /mlsyslinux/com32/include/sys/types.h:12: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?ssize_t? > /mlsyslinux/com32/include/sys/types.h:14: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?off_t? > In file included from /mlsyslinux/com32/libupload/upload_backend.h:8, > from /mlsyslinux/com32/libupload/cpio.c:12: > /mlsyslinux/com32/libupload/serial.h:15: error: expected declaration specifiers or ?...? before ?size_t? > /mlsyslinux/com32/libupload/serial.h:16: error: expected declaration specifiers or ?...? before ?size_t? > In...
2014 Nov 22
3
Use z size specifier for printf-ing size_t variable
...(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, sizeof filename, "dmi/%05zx.%08x", dptr, smb->dmi.tbladdr); cpio_hdr(be, MODE_FILE, smb->dmi.tbll...
2015 Jan 25
0
Use z size specifier for printf-ing size_t variable
..., 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, sizeof filename, "dmi/%05zx.%08x", > dptr, smb->dmi.tbladdr); > c...
2012 Jun 26
2
[GIT PULL] elflink bug fixes
...eflags.l & EFLAGS_CF) + return 0; + + return regs.eax.l; +} diff --git a/com32/libupload/upload_tftp.c b/com32/libupload/upload_tftp.c index 10427ac..5e73c1c 100644 --- a/com32/libupload/upload_tftp.c +++ b/com32/libupload/upload_tftp.c @@ -153,7 +153,7 @@ static int upload_tftp_write(struct upload_backend *be) tftp.seq = 0; if (be->argv[1]) { - tftp.srv_ip = pxe_dns_resolv(be->argv[1]); + tftp.srv_ip = pxe_dns(be->argv[1]); if (!tftp.srv_ip) { // printf("\nUnable to resolve hostname: %s\n", be->argv[1]); return -TFTP_ERR_UNABLE_TO_RESOLVE; diff -...
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...); - config_cwd[0] = NULL; + config_cwd[0] = '\0'; } return 0; diff --git a/com32/hdt/hdt-common.h b/com32/hdt/hdt-common.h index d37fcc8..fec213d 100644 --- a/com32/hdt/hdt-common.h +++ b/com32/hdt/hdt-common.h @@ -54,9 +54,6 @@ #include <acpi/acpi.h> #include <libupload/upload_backend.h> -/* Declare a variable or data structure as unused. */ -#define __unused __attribute__ (( unused )) - /* This two values are used for switching for the menu to the CLI mode */ #define HDT_SWITCH_TO_CLI "hdt_switch_to_cli" #define HDT_DUMP "hdt_dump" diff --git a/com32...