Message ID | 20220829185849.1884517-2-marvin.schmidt1987@gmail.com |
---|---|
State | Accepted |
Commit | 7354fb3b890bba37c81d70fc47f551d18be5c9ba |
Headers | show |
Series |
|
Related | show |
diff --git a/test/camera/camera_reconfigure.cpp b/test/camera/camera_reconfigure.cpp index f6076baa..d12e2413 100644 --- a/test/camera/camera_reconfigure.cpp +++ b/test/camera/camera_reconfigure.cpp @@ -179,7 +179,7 @@ private: continue; string pname("/proc/" + string(ptr->d_name) + "/comm"); - if (File::exists(pname.c_str())) { + if (File::exists(pname)) { ifstream pfile(pname.c_str()); string comm; getline(pfile, comm);