From 943cf7a540dc9330d81236c557d719ca6f1bb186 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 12 Feb 2022 12:05:24 +0100 Subject: 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. --- libmachdev/ds_routines.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmachdev/ds_routines.c') 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. */ -- cgit v1.2.3