summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/libi386/pxe.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/i386/libi386/pxe.c')
-rw-r--r--sys/boot/i386/libi386/pxe.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/sys/boot/i386/libi386/pxe.c b/sys/boot/i386/libi386/pxe.c
index dbb58de..e4ec5c0 100644
--- a/sys/boot/i386/libi386/pxe.c
+++ b/sys/boot/i386/libi386/pxe.c
@@ -355,18 +355,11 @@ pxe_close(struct open_file *f)
static void
pxe_print(int verbose)
{
- if (pxe_call != NULL) {
- if (*bootplayer.Sname == '\0') {
- printf(" "IP_STR":%s\n",
- IP_ARGS(htonl(bootplayer.sip)),
- bootplayer.bootfile);
- } else {
- printf(" %s:%s\n", bootplayer.Sname,
- bootplayer.bootfile);
- }
- }
- return;
+ if (pxe_call == NULL)
+ return;
+
+ printf(" pxe0: %s:%s\n", inet_ntoa(rootip), rootpath);
}
static void
OpenPOWER on IntegriCloud