From: Jaroslav Kysela Date: Mon, 13 Oct 2003 10:42:32 +0000 (+0000) Subject: Fixed typo X-Git-Tag: v1.0.3~92 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=72c814db2a4f4d3f590e098b7959290fe0d82786;p=alsa-lib.git Fixed typo --- diff --git a/test/pcm.c b/test/pcm.c index 2c8e1b97..a2ad1dc5 100644 --- a/test/pcm.c +++ b/test/pcm.c @@ -127,7 +127,7 @@ static int set_hwparams(snd_pcm_t *handle, return err; } err = snd_pcm_hw_params_get_period_size(params, &period_size, &dir); - if (err > 0) { + if (err < 0) { printf("Unable to get period size for playback: %s\n", snd_strerror(err)); return err; }