mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -08:00
[kernel] system_get_log should take a void*
Since it's not just text that's being returned in the buffer, switch the argument from a char* to a void*.
This commit is contained in:
@@ -33,7 +33,7 @@ system_noop()
|
||||
}
|
||||
|
||||
j6_status_t
|
||||
system_get_log(j6_handle_t sys, char *buffer, size_t *size)
|
||||
system_get_log(j6_handle_t sys, void *buffer, size_t *size)
|
||||
{
|
||||
if (!size || (*size && !buffer))
|
||||
return j6_err_invalid_arg;
|
||||
|
||||
Reference in New Issue
Block a user