Add routines to open an ISO-9660 image independent of being part of a
CD.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
$Id: sample6.c,v 1.1 2003/12/24 11:09:26 uid67423 Exp $
|
||||
$Id: sample6.c,v 1.2 2004/01/10 03:03:08 rocky Exp $
|
||||
|
||||
Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
|
||||
Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -81,7 +81,8 @@ main(int argc, const char *argv[])
|
||||
statbuf->lsn + (i / ISO_BLOCKSIZE),
|
||||
false) )
|
||||
{
|
||||
fprintf(stderr, "Error reading ISO 9660 file\n");
|
||||
fprintf(stderr, "Error reading ISO 9660 file at lsn %d\n",
|
||||
statbuf->lsn + (i / ISO_BLOCKSIZE));
|
||||
return 4;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user