aboutsummaryrefslogtreecommitdiff
path: root/lib/libstand
diff options
context:
space:
mode:
authorAndrew Gallatin <gallatin@FreeBSD.org>2001-08-23 20:23:56 +0000
committerAndrew Gallatin <gallatin@FreeBSD.org>2001-08-23 20:23:56 +0000
commit9ea30471e57efd17a5de26139bab697b41e07999 (patch)
tree9fa6d8035a6dd652a8f8ec848b19aca102719ed3 /lib/libstand
parent2aa760e15bc6b7e754626fe3d62dac30f41b48e6 (diff)
Notes
Diffstat (limited to 'lib/libstand')
-rw-r--r--lib/libstand/cd9660.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/cd9660.c b/lib/libstand/cd9660.c
index 87ef6e92a005..da34ab915a64 100644
--- a/lib/libstand/cd9660.c
+++ b/lib/libstand/cd9660.c
@@ -211,7 +211,7 @@ cd9660_open(path, f)
((char *) dp + isonum_711(dp->length));
off += isonum_711(dp->length);
}
- if (off == dsize) {
+ if (off >= dsize) {
rc = ENOENT;
goto out;
}