diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-09-30 14:46:16 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-09-30 14:46:16 +0200 |
commit | 3b65e15181cc30ff24cf9457545f50689b7949f1 (patch) | |
tree | d0928cadbaeeaea5d201800102b318f9521ec82a | |
parent | 5be99f5c353a5f762754c6da5ce5742f9612fcdf (diff) | |
download | salsa-lib-3b65e15181cc30ff24cf9457545f50689b7949f1.tar.gz |
Fix return value of snd_ctl_subscribe_events()
-rw-r--r-- | src/ctl_macros.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ctl_macros.h b/src/ctl_macros.h index 508b93d..748c65b 100644 --- a/src/ctl_macros.h +++ b/src/ctl_macros.h @@ -71,7 +71,7 @@ int snd_ctl_subscribe_events(snd_ctl_t *ctl, int subscribe) { if (ioctl(ctl->fd, SNDRV_CTL_IOCTL_SUBSCRIBE_EVENTS, &subscribe) < 0) return -errno; - return subscribe; + return 0; } static inline |