summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libcamera/camera_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/camera_manager.cpp b/src/libcamera/camera_manager.cpp
index 372b5a59..37ccbd53 100644
--- a/src/libcamera/camera_manager.cpp
+++ b/src/libcamera/camera_manager.cpp
@@ -78,7 +78,7 @@ CameraManager::~CameraManager()
int CameraManager::start()
{
if (enumerator_)
- return -ENODEV;
+ return -EBUSY;
enumerator_ = DeviceEnumerator::create();
if (enumerator_->enumerate())