diff --git a/lib/iso9660/iso9660_fs.c b/lib/iso9660/iso9660_fs.c index 51460422..0bf6b7ac 100644 --- a/lib/iso9660/iso9660_fs.c +++ b/lib/iso9660/iso9660_fs.c @@ -1,5 +1,5 @@ /* - $Id: iso9660_fs.c,v 1.24 2005/02/21 09:00:53 rocky Exp $ + $Id: iso9660_fs.c,v 1.25 2005/02/25 09:08:57 rocky Exp $ Copyright (C) 2001 Herbert Valerio Riedel Copyright (C) 2003, 2004, 2005 Rocky Bernstein @@ -52,7 +52,7 @@ #include -static const char _rcsid[] = "$Id: iso9660_fs.c,v 1.24 2005/02/21 09:00:53 rocky Exp $"; +static const char _rcsid[] = "$Id: iso9660_fs.c,v 1.25 2005/02/25 09:08:57 rocky Exp $"; /* Implementation of iso9660_t type */ struct _iso9660_s { @@ -1318,8 +1318,8 @@ iso9660_fs_readdir (CdIo_t *p_cdio, const char psz_path[], bool b_mode2) _dirbuf = calloc(1, p_stat->secsize * ISO_BLOCKSIZE); - if (cdio_read_data_sectors (p_cdio, _dirbuf, p_stat->lsn, false, - p_stat->secsize)) + if (cdio_read_data_sectors (p_cdio, _dirbuf, p_stat->lsn, + ISO_BLOCKSIZE, p_stat->secsize)) cdio_assert_not_reached (); while (offset < (p_stat->secsize * ISO_BLOCKSIZE))