Message ID | 1334919842-14610-1-git-send-email-hdegoede@redhat.com |
---|---|
State | New |
Headers | show |
On 04/20/2012 06:03 AM, Hans de Goede wrote: > Fix a small copy and paste error in logging. > > Signed-off-by: Hans de Goede<hdegoede@redhat.com> Please CC malc for audio changes. For what it's worth, the whole series: Tested-by: Anthony Liguori <aliguori@us.ibm.com> Regards, Anthony Liguori > --- > hw/ac97.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/ac97.c b/hw/ac97.c > index dd4917b..05ae63b 100644 > --- a/hw/ac97.c > +++ b/hw/ac97.c > @@ -339,7 +339,7 @@ static uint16_t mixer_load (AC97LinkState *s, uint32_t i) > uint16_t val = 0xffff; > > 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)); > } > else {
diff --git a/hw/ac97.c b/hw/ac97.c index dd4917b..05ae63b 100644 --- a/hw/ac97.c +++ b/hw/ac97.c @@ -339,7 +339,7 @@ static uint16_t mixer_load (AC97LinkState *s, uint32_t i) uint16_t val = 0xffff; 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)); } else {
Fix a small copy and paste error in logging. Signed-off-by: Hans de Goede <hdegoede@redhat.com> --- hw/ac97.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)