Skip to contentSkip to conversation

pcm: fix typo in snd_pcm_recover() error message

PATCH Applied [email protected] 2 participants 2 messages Jan 22, 2011 – Jan 23, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pcm: fix typo in snd_pcm_recover() error message

From: Francesco Cosoleto <[email protected]>

---
 src/pcm/pcm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
src/pcm/pcm.c +1 -1
index 906b502..02dea0d 100644
@@ -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));
Signature · 1 line
1.7.1
#1 lore raw

src/pcm/pcm.c int snd_pcm_recover(snd_pcm_t *pcm, int err, int silent) · line 7316

Quoted 3 lines · On Sat, 22 Jan 2011, [email protected] wrote:

if (!silent)

src/pcm/pcm.c +1 -1
-                        SNDERR("%s occured", s);
+                        SNDERR("%s occurred", s);

Applied, thanks.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.