mirror of https://github.com/ericonr/sndio.git
fix warning about master not found
This commit is contained in:
parent
3f19a6ece0
commit
1894783552
|
@ -135,7 +135,7 @@ mixer_connect(void)
|
|||
master_addr = -1;
|
||||
siomix_ondesc(hdl, mixer_ondesc, NULL);
|
||||
siomix_onctl(hdl, mixer_onctl, NULL);
|
||||
if (master_addr)
|
||||
if (master_addr == -1)
|
||||
fprintf(stderr, "%s: warning, couldn't find master control\n",
|
||||
devname);
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue