Displaying 3 results from an estimated 3 matches for "opt_inactive".
Did you mean:
get_inactive
2009 Apr 12
0
[PATCH] hdt: only display MAC address for network cards
...t s_
menu->items_count++;
if (hardware->is_pxe_valid == true) {
- snprintf(buffer,sizeof buffer,"MAC Addr. : %s",hardware->pxe.mac_addr);
- snprintf(statbuffer,sizeof statbuffer,"MAC Address : %s",hardware->pxe.mac_addr);
- add_item(buffer,statbuffer,OPT_INACTIVE,NULL,0);
- menu->items_count++;
-
if ((hardware->pxe.pci_device != NULL)
&& (hardware->pxe.pci_device == pci_device)) {
+ snprintf(buffer,sizeof buffer,"MAC Addr. : %s",hardware->pxe.mac_addr);
+ snprintf(statbuffer,sizeof statbuffer,"M...
2014 Nov 22
1
Get rid of printf format warning format ‘%llx’ expects type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’
...)",
map[j].addr, map[j].size, remove_spaces(type));
snprintf(statbuffer, sizeof statbuffer,
- "%016llx - %016llx (%s)",
+ "%016" PRIx64 " - %016" PRIx64 " (%s)",
map[j].addr, map[j].size, remove_spaces(type));
add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0);
menu->items_count++;
diff --git a/com32/lib/syslinux/disk.c b/com32/lib/syslinux/disk.c
index 5a99bb4..d5f4489 100644
--- a/com32/lib/syslinux/disk.c
+++ b/com32/lib/syslinux/disk.c
@@ -35,6 +35,7 @@
#include <core.h>
#include <dprintf.h>
+#include <inttypes.h>...
2015 Feb 10
6
[PATCH 0/6] fix some compiler warnings
These patches fix a few compiler warnings.
Tested on top of commit aee0dc5565711ef5be7c30fb5fc1c5f3f98db09f
Jonathan Boeing (6):
Use z width specifier when printing size_t variable
pxe: fix truncation warning
gpllib: fix sizeof(char *) misuse
hdt: fix sizeof(char *) misuse
hdt: fix sizeof(char *) misuse
hdt: fix sizeof(char *) misuse
com32/gpllib/dmi/dmi.c | 24 +++---