diff mbox

[1/5] hw/ac97: Fix log message in mixer_load

Message ID 1334919842-14610-1-git-send-email-hdegoede@redhat.com
State New
Headers show

Commit Message

Hans de Goede April 20, 2012, 11:03 a.m. UTC
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(-)

Comments

Anthony Liguori April 24, 2012, 2:36 p.m. UTC | #1
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 mbox

Patch

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 {