diff options
author | Harald Koerfgen <hkoerfg@web.de> | 2001-03-10 11:55:04 +0000 |
---|---|---|
committer | Harald Koerfgen <hkoerfg@web.de> | 2001-03-10 11:55:04 +0000 |
commit | a405f3ed3e25d3b229b4fafb26d1d75c5ef57f01 (patch) | |
tree | 32186bd2e53c2aaa13942de32282ccdf3e8dd92f /drivers | |
parent | 116674acc97ba75a720329996877077d988443a2 (diff) |
suser() cleanup from Rob Radez <rob@osinvestor.com>
Diffstat (limited to 'drivers')
-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) || |