diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2009-09-10 22:05:43 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2009-09-10 22:05:43 +0000 |
| commit | 58564ca5975e56c79557a8a80bb45e18c94f2ef0 (patch) | |
| tree | 302d2c88f683365c00036d2043a6f35bba520d98 /sys/boot | |
| parent | b8e83993c502c6727a8663f799ffed69e2705d66 (diff) | |
Notes
Diffstat (limited to 'sys/boot')
| -rw-r--r-- | sys/boot/i386/libi386/pxe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/i386/libi386/pxe.c b/sys/boot/i386/libi386/pxe.c index 4b99c910ba5d..5629d90e2cb6 100644 --- a/sys/boot/i386/libi386/pxe.c +++ b/sys/boot/i386/libi386/pxe.c @@ -282,7 +282,7 @@ pxe_open(struct open_file *f, ...) bootp(pxe_sock, BOOTP_PXE); if (rootip.s_addr == 0) rootip.s_addr = bootplayer.sip; - if (!rootpath[1]) + if (!rootpath[0]) strcpy(rootpath, PXENFSROOTPATH); for (i = 0; rootpath[i] != '\0' && i < FNAME_SIZE; i++) |
