summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}