fix minor typo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@48 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2004-07-03 00:32:31 +00:00
parent 3ac2437abd
commit a8a5ab1c79
2 changed files with 2 additions and 2 deletions

View file

@ -273,7 +273,7 @@ int module_init(struct core *c, struct module*m) {
}
}
if (m != O_RDONLY) {
if (mode != O_RDONLY) {
if (ioctl(u->fd, SNDCTL_DSP_GETOSPACE, &info) < 0) {
fprintf(stderr, "SNDCTL_DSP_GETOSPACE: %s\n", strerror(errno));
goto fail;