diff options
Diffstat (limited to 'boot')
-rw-r--r-- | boot/boot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/boot.c b/boot/boot.c index a4b31665..75f59373 100644 --- a/boot/boot.c +++ b/boot/boot.c @@ -714,7 +714,7 @@ ds_device_write (device_t device, } #endif - *bytes_written = write (1, (void *)(vm_address_t)*data, datalen); + *bytes_written = write (1, data, datalen); return (*bytes_written == -1 ? D_IO_ERROR : D_SUCCESS); } |