summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/boot/efi/libefi/efinet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/boot/efi/libefi/efinet.c b/sys/boot/efi/libefi/efinet.c
index f2a6ac4..85814f9 100644
--- a/sys/boot/efi/libefi/efinet.c
+++ b/sys/boot/efi/libefi/efinet.c
@@ -164,7 +164,7 @@ efinet_init(struct iodesc *desc, void *machdep_hint)
if (net->Mode->State == EfiSimpleNetworkStopped) {
status = net->Start(net);
if (status != EFI_SUCCESS) {
- printf("net%d: cannot start interface (status=%d)\n",
+ printf("net%d: cannot start interface (status=%ld)\n",
nif->nif_unit, status);
return;
}
@@ -173,7 +173,7 @@ efinet_init(struct iodesc *desc, void *machdep_hint)
if (net->Mode->State != EfiSimpleNetworkInitialized) {
status = net->Initialize(net, 0, 0);
if (status != EFI_SUCCESS) {
- printf("net%d: cannot init. interface (status=%d)\n",
+ printf("net%d: cannot init. interface (status=%ld)\n",
nif->nif_unit, status);
return;
}
@@ -185,7 +185,7 @@ efinet_init(struct iodesc *desc, void *machdep_hint)
status = net->ReceiveFilters(net, mask, 0, FALSE, 0, 0);
if (status != EFI_SUCCESS) {
- printf("net%d: cannot set rx. filters (status=%d)\n",
+ printf("net%d: cannot set rx. filters (status=%ld)\n",
nif->nif_unit, status);
return;
}
OpenPOWER on IntegriCloud