Erroneous parameter passed.

This commit is contained in:
rocky
2005-02-25 09:08:57 +00:00
parent b4a4b971f9
commit f21d10168d

View File

@@ -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 <hvr@gnu.org> Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
Copyright (C) 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com> Copyright (C) 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com>
@@ -52,7 +52,7 @@
#include <stdio.h> #include <stdio.h>
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 */ /* Implementation of iso9660_t type */
struct _iso9660_s { 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); _dirbuf = calloc(1, p_stat->secsize * ISO_BLOCKSIZE);
if (cdio_read_data_sectors (p_cdio, _dirbuf, p_stat->lsn, false, if (cdio_read_data_sectors (p_cdio, _dirbuf, p_stat->lsn,
p_stat->secsize)) ISO_BLOCKSIZE, p_stat->secsize))
cdio_assert_not_reached (); cdio_assert_not_reached ();
while (offset < (p_stat->secsize * ISO_BLOCKSIZE)) while (offset < (p_stat->secsize * ISO_BLOCKSIZE))