diff options
Diffstat (limited to 'sys/i386/ibcs2/imgact_coff.c')
-rw-r--r-- | sys/i386/ibcs2/imgact_coff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/ibcs2/imgact_coff.c b/sys/i386/ibcs2/imgact_coff.c index ec658c1..a5080ff 100644 --- a/sys/i386/ibcs2/imgact_coff.c +++ b/sys/i386/ibcs2/imgact_coff.c @@ -200,7 +200,7 @@ coff_load_file(struct thread *td, char *name) if ((error = VOP_ACCESS(vp, VEXEC, td->td_ucred, td)) != 0) goto fail; - if ((error = VOP_OPEN(vp, FREAD, td->td_ucred, td)) != 0) + if ((error = VOP_OPEN(vp, FREAD, td->td_ucred, td, -1)) != 0) goto fail; /* |