OSDN Git Service
(root)
/
android-x86
/
external-alsa-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e97ef3
)
Fixed typo
author
Abramo Bagnara
<abramo@alsa-project.org>
Wed, 14 Feb 2001 08:26:33 +0000
(08:26 +0000)
committer
Abramo Bagnara
<abramo@alsa-project.org>
Wed, 14 Feb 2001 08:26:33 +0000
(08:26 +0000)
src/control/control_hw.c
patch
|
blob
|
history
diff --git
a/src/control/control_hw.c
b/src/control/control_hw.c
index
92b2ab6
..
048ff0d
100644
(file)
--- a/
src/control/control_hw.c
+++ b/
src/control/control_hw.c
@@
-124,9
+124,10
@@
static int snd_ctl_hw_subscribe_events(snd_ctl_t *handle, int subscribe)
static int snd_ctl_hw_card_info(snd_ctl_t *handle, snd_ctl_card_info_t *info)
{
snd_ctl_hw_t *hw = handle->private_data;
- if (ioctl(hw->fd, SNDRV_CTL_IOCTL_CARD_INFO, info) < 0)
+ if (ioctl(hw->fd, SNDRV_CTL_IOCTL_CARD_INFO, info) < 0)
{
SYSERR("SNDRV_CTL_IOCTL_CARD_INFO failed");
return -errno;
+ }
return 0;
}