commit c31dd101cf991146aebb311d70083f97ba7f973a
parent 79f1b1266d72edf78063510221c0da91f378e36d
Author: lostd <lostd@2f30.org>
Date: Fri, 18 Nov 2016 11:41:23 +0000
Fix build on Linux
Don't know how this worked on OpenBSD.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mixerd.c b/mixerd.c
@@ -329,10 +329,11 @@ int
sio_audio_open(struct output *out)
{
struct sio_arg *sio_arg = out->arg;
+ char *devname = sio_arg->devname;
struct sio_hdl *hdl;
struct sio_par par;
- hdl = sio_open(sio_arg->devname, SIO_PLAY, 0);
+ hdl = sio_open(devname, SIO_PLAY, 0);
if (hdl == NULL)
return -1;