diff options
Diffstat (limited to 'drivers/s390/char/vmlogrdr.c')
-rw-r--r-- | drivers/s390/char/vmlogrdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/char/vmlogrdr.c b/drivers/s390/char/vmlogrdr.c index c131bc40f962..9b3a24e8d3a0 100644 --- a/drivers/s390/char/vmlogrdr.c +++ b/drivers/s390/char/vmlogrdr.c | |||
@@ -321,7 +321,7 @@ static int vmlogrdr_open (struct inode *inode, struct file *filp) | |||
321 | * only allow for blocking reads to be open | 321 | * only allow for blocking reads to be open |
322 | */ | 322 | */ |
323 | if (filp->f_flags & O_NONBLOCK) | 323 | if (filp->f_flags & O_NONBLOCK) |
324 | return -ENOSYS; | 324 | return -EOPNOTSUPP; |
325 | 325 | ||
326 | /* Besure this device hasn't already been opened */ | 326 | /* Besure this device hasn't already been opened */ |
327 | spin_lock_bh(&logptr->priv_lock); | 327 | spin_lock_bh(&logptr->priv_lock); |