aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/solaris.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-10-08 05:44:38 -0700
committerChris Robinson <[email protected]>2019-10-08 05:44:38 -0700
commit7726a06d26e59dc6a8e109af2e268de878c4f606 (patch)
tree3fdea7f120e21def8e52b89d335f63aa38372497 /alc/backends/solaris.cpp
parent360330b2add6cf10776c38aaa186b0892b54e300 (diff)
Clean up some exception messages and avoid duplicate log messages
Diffstat (limited to 'alc/backends/solaris.cpp')
-rw-r--r--alc/backends/solaris.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/alc/backends/solaris.cpp b/alc/backends/solaris.cpp
index 79cc224d..7cc2606e 100644
--- a/alc/backends/solaris.cpp
+++ b/alc/backends/solaris.cpp
@@ -151,11 +151,8 @@ void SolarisBackend::open(const ALCchar *name)
mFd = ::open(solaris_driver.c_str(), O_WRONLY);
if(mFd == -1)
- {
- ERR("Could not open %s: %s\n", solaris_driver.c_str(), strerror(errno));
throw al::backend_exception{ALC_INVALID_VALUE, "Could not open %s: %s",
solaris_driver.c_str(), strerror(errno)};
- }
mDevice->DeviceName = name;
}