diff --git a/src/zmu.cpp b/src/zmu.cpp index 502aecd99..9febe9508 100644 --- a/src/zmu.cpp +++ b/src/zmu.cpp @@ -715,7 +715,7 @@ int main(int argc, char *argv[]) { if ( function & ZMU_QUERY ) { #if ZM_HAS_V4L char vidString[0x10000] = ""; - bool ok = LocalCamera::GetCurrentSettings(device, vidString, v4lVersion, verbose); + bool ok = LocalCamera::GetCurrentSettings(device.c_str(), vidString, v4lVersion, verbose); printf("%s", vidString); exit_zmu(ok ? 0 : -1); #else // ZM_HAS_V4L