wok rev 20633

linld: 32 bits lseeks for tazboot (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 05 17:29:09 2019 +0100 (2019-01-05)
parents ab907169f156
children 57d97be431f4
files linld/stuff/src/TAZBOOT.CPP
line diff
     1.1 --- a/linld/stuff/src/TAZBOOT.CPP	Sat Jan 05 17:23:23 2019 +0100
     1.2 +++ b/linld/stuff/src/TAZBOOT.CPP	Sat Jan 05 17:29:09 2019 +0100
     1.3 @@ -22,7 +22,7 @@
     1.4  	struct initrd_info *i = &initrd_state.info[m->state];
     1.5  	m->chunk_size = 0;
     1.6  	if (m->state >= initrd_state.cnt) return;
     1.7 -	lseekset(m->fd,i->ofs);
     1.8 +	lseekset2(m->fd,&i->ofs);
     1.9  	m->chunk_size = i->size;
    1.10  	m->state++;
    1.11  }