Made Xorriso_path_from_lba() ready for long block adresses
This commit is contained in:
@ -459,7 +459,7 @@ ex:;
|
||||
*/
|
||||
/* @param flag bit0= use lba rather than node pointer
|
||||
*/
|
||||
int Xorriso_path_from_lba(struct XorrisO *xorriso, IsoNode *node, int lba,
|
||||
int Xorriso_path_from_lba(struct XorrisO *xorriso, IsoNode *node, off_t lba,
|
||||
char path[SfileadrL], int flag)
|
||||
{
|
||||
int ret;
|
||||
@ -477,7 +477,7 @@ int Xorriso_path_from_lba(struct XorrisO *xorriso, IsoNode *node, int lba,
|
||||
return(ret);
|
||||
}
|
||||
if(flag & 1)
|
||||
Findjob_set_lba_range(job, (off_t) lba, (off_t) 1, 0);
|
||||
Findjob_set_lba_range(job, lba, (off_t) 1, 0);
|
||||
else
|
||||
Findjob_set_wanted_node(job, (void *) node, 0);
|
||||
Findjob_set_action_found_path(job, 0);
|
||||
|
Reference in New Issue
Block a user