Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jul 2002 02:54:01 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 14418 for review
Message-ID:  <200207180954.g6I9s1VU018966@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=14418

Change 14418 by peter@peter_ia64 on 2002/07/18 02:53:01

	fix printf format errors

Affected files ...

.. //depot/projects/ia64/sys/boot/efi/libefi/efinet.c#4 edit

Differences ...

==== //depot/projects/ia64/sys/boot/efi/libefi/efinet.c#4 (text+ko) ====

@@ -164,7 +164,7 @@
 	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 @@
 	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 @@
 
 		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;
 		}

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207180954.g6I9s1VU018966>