mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 03:45:24 +00:00
parent
6c7bcdd32e
commit
66ac2dc635
@ -112,7 +112,7 @@ class Igd::Ring_buffer
|
||||
_dwords[index] = cmd.value;
|
||||
_tail++;
|
||||
|
||||
if (_tail > _max) {
|
||||
if (_tail >= _max) {
|
||||
Genode::warning("ring buffer wrapped ",
|
||||
"_tail: ", _tail, " ", "_max: ", _max);
|
||||
_tail = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user