diff --git a/src/linux/backend-v4l2.cpp b/src/linux/backend-v4l2.cpp index 8889d3f50d..30d27df5d7 100644 --- a/src/linux/backend-v4l2.cpp +++ b/src/linux/backend-v4l2.cpp @@ -360,7 +360,7 @@ namespace librealsense if (_use_memory_map) { if(munmap(_start, _original_length) < 0) - linux_backend_exception("munmap"); + throw linux_backend_exception("munmap"); } else {