summaryrefslogtreecommitdiff
path: root/libkms++/card.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkms++/card.cpp')
-rw-r--r--libkms++/card.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libkms++/card.cpp b/libkms++/card.cpp
index 7aa8bdb..52a0f7a 100644
--- a/libkms++/card.cpp
+++ b/libkms++/card.cpp
@@ -26,8 +26,8 @@ Card::Card()
int fd = open(card, O_RDWR | O_CLOEXEC);
if (fd < 0)
- throw invalid_argument((string(strerror(errno)) +
- " opening " + card).c_str());
+ throw invalid_argument(string(strerror(errno)) + " opening " +
+ card);
m_fd = fd;
int r;
@@ -222,7 +222,7 @@ std::vector<kms::Pipeline> Card::get_connected_pipelines()
if (!crtc)
throw invalid_argument(string("Connector #") +
- to_string(conn->idx()) +
+ to_string(conn->idx()) +
" has no possible crtcs");
outputs.push_back(Pipeline { crtc, conn });