[alsa-devel] [PATCH] pcm: fix typo in snd_pcm_recover() error message

cosoleto at gmail.com cosoleto at gmail.com
Sat Jan 22 02:27:54 CET 2011


From: Francesco Cosoleto <cosoleto at gmail.com>

Signed-off-by: Francesco Cosoleto <cosoleto at gmail.com>
---
 src/pcm/pcm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c
index 906b502..02dea0d 100644
--- a/src/pcm/pcm.c
+++ b/src/pcm/pcm.c
@@ -7313,7 +7313,7 @@ int snd_pcm_recover(snd_pcm_t *pcm, int err, int silent)
                 else
                         s = "overrun";
                 if (!silent)
-                        SNDERR("%s occured", s);
+                        SNDERR("%s occurred", s);
                 err = snd_pcm_prepare(pcm);
                 if (err < 0) {
                         SNDERR("cannot recovery from %s, prepare failed: %s", s, snd_strerror(err));
-- 
1.7.1



More information about the Alsa-devel mailing list