summaryrefslogtreecommitdiff
path: root/src/cam/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cam/main.cpp')
-rw-r--r--src/cam/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cam/main.cpp b/src/cam/main.cpp
index 70d86bcf..ddb416f6 100644
--- a/src/cam/main.cpp
+++ b/src/cam/main.cpp
@@ -230,7 +230,8 @@ int main(int argc, char **argv)
if (options.isSet(OptCamera)) {
camera = cm->get(options[OptCamera]);
if (!camera) {
- std::cout << "Camera " << options[OptCamera]
+ std::cout << "Camera "
+ << std::string(options[OptCamera])
<< " not found" << std::endl;
goto out;
}