summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-02-12 12:05:24 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-02-12 12:05:24 +0100
commit943cf7a540dc9330d81236c557d719ca6f1bb186 (patch)
treed14076b4565f5a4ae97a354771a0a5b542989de0
parenta55bc0c38006f9cf0056d8ca23a252896da0f667 (diff)
Fix warning
libmachdev/ds_routines.c (ds_device_write_inband): Replace const_io_buf_ptr_inband_t with const io_buf_ptr_inband_t, as generated by mig.
-rw-r--r--libmachdev/ds_routines.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmachdev/ds_routines.c b/libmachdev/ds_routines.c
index 1ef865db..139551f6 100644
--- a/libmachdev/ds_routines.c
+++ b/libmachdev/ds_routines.c
@@ -161,7 +161,7 @@ io_return_t
ds_device_write_inband (struct mach_device *device, mach_port_t reply_port,
mach_msg_type_name_t reply_port_type,
dev_mode_t mode, recnum_t recnum,
- const_io_buf_ptr_inband_t data, unsigned count,
+ const io_buf_ptr_inband_t data, unsigned count,
int *bytes_written)
{
/* Refuse if device is dead or not completely open. */