author | Alberto Bertogli
<albertito@gmail.com> 2005-12-04 19:34:39 UTC |
committer | Alberto Bertogli
<albertito@gmail.com> 2007-07-15 13:50:38 UTC |
parent | 31b66b7cf639df6becdd0333d6d4d7fb0c8d4e46 |
trans.c | +1 | -1 |
diff --git a/trans.c b/trans.c index dcf68e3..e1f33d0 100644 --- a/trans.c +++ b/trans.c @@ -594,7 +594,7 @@ int jopen(struct jfs *fs, const char *name, int flags, int mode, int jflags) goto error_exit; /* nothing else to do for read-only access */ - if (flags & O_RDONLY) { + if (jflags & J_RDONLY) { return fs->fd; }