Skip to content

Commit

Permalink
Merge pull request #538 from palainp/xen-fix-console
Browse files Browse the repository at this point in the history
xen console: update the "to be written" count
  • Loading branch information
dinosaure authored Dec 7, 2022
2 parents 17312ab + 099be86 commit 498d6ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/xen/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ void console_write(const char *buf, size_t len)
do
{
/* Try and put some data into the ring. */
written = console_write_some(&buf[written], len - written);
written += console_write_some(&buf[written], len - written);

/* Signal xenconsoled that new data is available. */
hypercall_evtchn_send(console_evtchn);
Expand Down

0 comments on commit 498d6ca

Please sign in to comment.