diff options
-rw-r--r-- | drivers/tc/zs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tc/zs.c b/drivers/tc/zs.c index 1991e17ee..d9828c708 100644 --- a/drivers/tc/zs.c +++ b/drivers/tc/zs.c @@ -1130,7 +1130,7 @@ static int set_serial_info(struct dec_serial * info, copy_from_user(&new_serial,new_info,sizeof(new_serial)); old_info = *info; - if (!suser()) { + if (!capable(CAP_SYS_ADMIN)) { if ((new_serial.baud_base != info->baud_base) || (new_serial.type != info->type) || (new_serial.close_delay != info->close_delay) || |