summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/null.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/drivers/null.c')
-rw-r--r--arch/um/drivers/null.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/null.c b/arch/um/drivers/null.c
index 87087763a4..30d59b8481 100644
--- a/arch/um/drivers/null.c
+++ b/arch/um/drivers/null.c
@@ -28,7 +28,7 @@ static int null_open(int input, int output, int primary, void *d,
return (fd < 0) ? -errno : fd;
}
-static int null_read(int fd, char *c_out, void *unused)
+static int null_read(int fd, __u8 *c_out, void *unused)
{
return -ENODEV;
}