summaryrefslogtreecommitdiffstats
path: root/Alc/backends/oss.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/oss.c')
-rw-r--r--Alc/backends/oss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/oss.c b/Alc/backends/oss.c
index a577d8be..302ba101 100644
--- a/Alc/backends/oss.c
+++ b/Alc/backends/oss.c
@@ -170,7 +170,7 @@ static ALCenum oss_open_playback(ALCdevice *device, const ALCchar *deviceName)
return ALC_INVALID_VALUE;
}
- device->szDeviceName = strdup(deviceName);
+ device->DeviceName = strdup(deviceName);
device->ExtraData = data;
return ALC_NO_ERROR;
}
@@ -431,7 +431,7 @@ static ALCenum oss_open_capture(ALCdevice *device, const ALCchar *deviceName)
return ALC_OUT_OF_MEMORY;
}
- device->szDeviceName = strdup(deviceName);
+ device->DeviceName = strdup(deviceName);
return ALC_NO_ERROR;
}