summaryrefslogtreecommitdiff
path: root/i386/i386at/com.c
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2009-12-09 04:17:26 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-03-20 02:07:07 +0100
commit5b6966db94a3f3113f7795d9513c832bd1a43f26 (patch)
tree0523d0d7b92ae4ad955ddf47256834ce5cc64842 /i386/i386at/com.c
parent45dc1c2a3d8a95ddc8cc115a5e41fa0afbc82208 (diff)
Match type for count with tty_get_status and tty_set_status
* i386/i386at/com.c (comgetstat): Use natural_t instead of `unsigned int'. (comsetstat): Likewise. * i386/i386at/kd.c (kdgetstat, kdsetstat): Likewise. * i386/i386at/lpr.c (lprgetstat, lprsetstat): Likewise.
Diffstat (limited to 'i386/i386at/com.c')
-rw-r--r--i386/i386at/com.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/i386/i386at/com.c b/i386/i386at/com.c
index 165b0fa..93c3faa 100644
--- a/i386/i386at/com.c
+++ b/i386/i386at/com.c
@@ -447,7 +447,7 @@ comgetstat(dev, flavor, data, count)
dev_t dev;
int flavor;
int *data; /* pointer to OUT array */
-unsigned int *count; /* out */
+natural_t *count; /* out */
{
io_return_t result = D_SUCCESS;
int unit = minor(dev);
@@ -470,7 +470,7 @@ comsetstat(dev, flavor, data, count)
dev_t dev;
int flavor;
int * data;
-unsigned int count;
+natural_t count;
{
io_return_t result = D_SUCCESS;
int unit = minor(dev);