Skip to content

Commit

Permalink
efi: core_udp_configure()/core_tcp_connect(): Fix error message
Browse files Browse the repository at this point in the history
Wrong translation type used.

Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
  • Loading branch information
geneC committed Oct 12, 2015
1 parent 9146346 commit 066dbd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion efi/tcp.c
Expand Up @@ -83,7 +83,7 @@ int core_tcp_connect(struct pxe_pvt_inode *socket, uint32_t ip, uint16_t port)
}
} else {
if (status != EFI_SUCCESS)
Print(L"core_tcp_connect: tcp->Configure() unsuccessful (%i)", status);
Print(L"core_tcp_connect: tcp->Configure() unsuccessful (%d)", status);
unmapped = 0;
}
}
Expand Down
2 changes: 1 addition & 1 deletion efi/udp.c
Expand Up @@ -49,7 +49,7 @@ EFI_STATUS core_udp_configure(EFI_UDP4 *udp, EFI_UDP4_CONFIG_DATA *udata,
}
} else {
if (status != EFI_SUCCESS)
Print(L"%s: udp->Configure() unsuccessful (%i)", f, status);
Print(L"%s: udp->Configure() unsuccessful (%d)", f, status);
unmapped = 0;
}
}
Expand Down

0 comments on commit 066dbd3

Please sign in to comment.