summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2015-11-03 10:16:06 +0200
committerPeter Ujfalusi <peter.ujfalusi@ti.com>2016-03-16 17:59:46 +0200
commit1e1259db9f35f142b7f0d811d9d8ee505f0f3755 (patch)
tree161c95485cf7bed9381253b61e6cb4ef067fd726
parent11d248214edcc489eacf5c76ba2027ec682394b6 (diff)
dumbframebuffer: fix throw linefeed in in prime_fd
-rw-r--r--libkms++/dumbframebuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkms++/dumbframebuffer.cpp b/libkms++/dumbframebuffer.cpp
index 0a05e61..fcd01d0 100644
--- a/libkms++/dumbframebuffer.cpp
+++ b/libkms++/dumbframebuffer.cpp
@@ -129,7 +129,7 @@ int DumbFramebuffer::prime_fd(unsigned int plane)
int r = drmPrimeHandleToFD(card().fd(), m_planes[plane].handle,
DRM_CLOEXEC, &m_planes[plane].prime_fd);
if (r)
- throw std::runtime_error("drmPrimeHandleToFD failed\n");
+ throw std::runtime_error("drmPrimeHandleToFD failed");
return m_planes[plane].prime_fd;
}