diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-02-23 19:11:13 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-23 19:11:13 -0800 |
commit | 3842a4e73f1a6fa2248c0d3939ca804be7e44895 (patch) | |
tree | 7dd4a565afc1b9a25a3b04330e40aced4cbc9227 | |
parent | 3cda063b8e079ee6518d3425650d800db4227585 (diff) | |
parent | dafd02cb11048f53e2de221d4b642fd4ba4dbb6a (diff) | |
download | syslinux-3842a4e73f1a6fa2248c0d3939ca804be7e44895.tar.gz |
Merge branch 'pxefix' into pathbased
-rw-r--r-- | core/fs/pxe/pxe.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/fs/pxe/pxe.c b/core/fs/pxe/pxe.c index 56f8ee41..e58901d9 100644 --- a/core/fs/pxe/pxe.c +++ b/core/fs/pxe/pxe.c @@ -1474,6 +1474,10 @@ static int pxe_fs_init(struct fs_info *fs) { (void)fs; /* drop the compile warning message */ + /* This block size is actually arbitrary... */ + fs->sector_shift = fs->block_shift = TFTP_BLOCKSIZE_LG2; + fs->sector_size = fs->block_size = 1 << TFTP_BLOCKSIZE_LG2; + /* Initialize the Files structure */ files_init(); |