diff --git a/src/hwdep/hwdep.c b/src/hwdep/hwdep.c index 2d62a4e2..bf014d87 100644 --- a/src/hwdep/hwdep.c +++ b/src/hwdep/hwdep.c @@ -181,9 +181,10 @@ int snd_hwdep_open(snd_hwdep_t **hwdep, const char *name, int mode) * Opens a new connection to the HwDep interface specified with * an ASCII identifier and mode. */ -int snd_hwdep_open(snd_hwdep_t **hwdep, const char *name, int mode, snd_config_t *lconf) +int snd_hwdep_open_lconf(snd_hwdep_t **hwdep, const char *name, + int mode, snd_config_t *lconf) { - assert(hwdep && name); + assert(hwdep && name && lconf); return snd_hwdep_open_noupdate(hwdep, lconf, name, mode); }