VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Core/Unix/Solaris/CoreSolaris.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Core/Unix/Solaris/CoreSolaris.cpp')
-rw-r--r--src/Core/Unix/Solaris/CoreSolaris.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Core/Unix/Solaris/CoreSolaris.cpp b/src/Core/Unix/Solaris/CoreSolaris.cpp
index e840cceb..c436be8f 100644
--- a/src/Core/Unix/Solaris/CoreSolaris.cpp
+++ b/src/Core/Unix/Solaris/CoreSolaris.cpp
@@ -35,7 +35,7 @@ namespace VeraCrypt
args.push_back ("-a");
args.push_back (filePath);
- return StringConverter::Trim (Process::Execute ("lofiadm", args));
+ return StringConverter::Trim (Process::Execute ("/usr/sbin/lofiadm", args));
}
void CoreSolaris::DetachLoopDevice (const DevicePath &devicePath) const
@@ -48,7 +48,7 @@ namespace VeraCrypt
{
try
{
- Process::Execute ("lofiadm", args);
+ Process::Execute ("/usr/sbin/lofiadm", args);
break;
}
catch (ExecutedProcessFailed&)