Репозитории ALT
Группа :: Звук
Пакет: aumix
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: aumix-2.9.1-alt-deb-failmsg.patch
Скачать
Скачать
diff -Naur aumix-2.9.1-orig//src/common.c aumix-2.9.1/src/common.c
--- aumix-2.9.1-orig//src/common.c 2010-05-06 03:36:47.000000000 +0000
+++ aumix-2.9.1/src/common.c 2010-10-09 08:42:14.171440167 +0000
@@ -391,11 +391,11 @@
#endif /* HAVE_ALSA */
#ifndef DUMMY_MIXER
if ((mixer_fd = open(device_filename, O_RDWR)) < 0)
- return EOPENMIX;
+ ErrorExitWarn(EOPENMIX, 'e');
#endif /* DUMMY_MIXER */
ErrorExitWarn(MixerStatus(), 'e');
if (!devmask)
- return EFINDDEVICE;
+ ErrorExitWarn(EFINDDEVICE, 'e');
return 0;
}