mirror of https://github.com/xemu-project/xemu.git
hw/ac97: Fix log message in mixer_load
Fix a small copy and paste error in logging. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: malc <av1474@comtv.ru>
This commit is contained in:
parent
8f473dd104
commit
a4e652ebc0
|
@ -342,7 +342,7 @@ static uint16_t mixer_load (AC97LinkState *s, uint32_t i)
|
||||||
uint16_t val = 0xffff;
|
uint16_t val = 0xffff;
|
||||||
|
|
||||||
if (i + 2 > sizeof (s->mixer_data)) {
|
if (i + 2 > sizeof (s->mixer_data)) {
|
||||||
dolog ("mixer_store: index %d out of bounds %zd\n",
|
dolog ("mixer_load: index %d out of bounds %zd\n",
|
||||||
i, sizeof (s->mixer_data));
|
i, sizeof (s->mixer_data));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue