diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2009-11-02 16:46:06 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2009-11-02 16:46:06 +0000 |
| commit | f94d7478f3c867eaaf8e60fa0b5e163ee88f51d9 (patch) | |
| tree | a8834ddd91dc01cceb74e38ea73e27b6267179b1 | |
| parent | b561979f8cf4bbfd48a315eaaf95c76e23a1f6f9 (diff) | |
Notes
| -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++) |
