diff options
author | Roel Kluin <12o3l@tiscali.nl> | 2007-11-05 14:50:58 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-05 15:12:32 -0800 |
commit | b07989f51eea16e2fe3eab032801599d952966fb (patch) | |
tree | 9d15e6fc1e8b5eab360353d1f0e4889e480860b6 /drivers/block | |
parent | 6551198a201a70cb11e25712b1d0b2a369bb8a4c (diff) | |
download | linux-3.10-b07989f51eea16e2fe3eab032801599d952966fb.tar.gz linux-3.10-b07989f51eea16e2fe3eab032801599d952966fb.tar.bz2 linux-3.10-b07989f51eea16e2fe3eab032801599d952966fb.zip |
paride: fix 'and' typo in drivers/block/paride/pt.c
Fix 'and' typo (PT_WRITE_OK is defined 2)
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/paride/pt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/paride/pt.c b/drivers/block/paride/pt.c index 9f4e67ee1eb..b91accf1265 100644 --- a/drivers/block/paride/pt.c +++ b/drivers/block/paride/pt.c @@ -664,7 +664,7 @@ static int pt_open(struct inode *inode, struct file *file) goto out; err = -EROFS; - if ((!tape->flags & PT_WRITE_OK) && (file->f_mode & 2)) + if ((!(tape->flags & PT_WRITE_OK)) && (file->f_mode & 2)) goto out; if (!(iminor(inode) & 128)) |