summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-07-20 03:52:18 +0000
committerpeter <peter@FreeBSD.org>2002-07-20 03:52:18 +0000
commit335f3b2c57f779c1f41149357bce7577c6a99635 (patch)
treef0854061a0e2a5f7605cb0e9def14c1c58859fc4 /sys/boot
parent3c805ef8bd61a3ab8eca8e44853ab0eb69df2192 (diff)
downloadFreeBSD-src-335f3b2c57f779c1f41149357bce7577c6a99635.zip
FreeBSD-src-335f3b2c57f779c1f41149357bce7577c6a99635.tar.gz
Fix printf format errors
Diffstat (limited to 'sys/boot')
-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