summaryrefslogtreecommitdiffstats
path: root/twrp-functions.cpp
diff options
context:
space:
mode:
authorbigbiff bigbiff <bigbiff@teamw.in>2014-02-21 00:26:13 +0100
committerbigbiff bigbiff <bigbiff@teamw.in>2014-02-23 02:12:02 +0100
commit731df79eb71d30e693c2de40c49dbfe24686e539 (patch)
tree94fdfa3e2ccc083096908ccd134e463a6714e622 /twrp-functions.cpp
parentMerge "Improve ORS scanning of storage locations" into android-4.4 (diff)
downloadandroid_bootable_recovery-731df79eb71d30e693c2de40c49dbfe24686e539.tar
android_bootable_recovery-731df79eb71d30e693c2de40c49dbfe24686e539.tar.gz
android_bootable_recovery-731df79eb71d30e693c2de40c49dbfe24686e539.tar.bz2
android_bootable_recovery-731df79eb71d30e693c2de40c49dbfe24686e539.tar.lz
android_bootable_recovery-731df79eb71d30e693c2de40c49dbfe24686e539.tar.xz
android_bootable_recovery-731df79eb71d30e693c2de40c49dbfe24686e539.tar.zst
android_bootable_recovery-731df79eb71d30e693c2de40c49dbfe24686e539.zip
Diffstat (limited to '')
-rw-r--r--twrp-functions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/twrp-functions.cpp b/twrp-functions.cpp
index 5145b2678..6c1f25f09 100644
--- a/twrp-functions.cpp
+++ b/twrp-functions.cpp
@@ -79,7 +79,7 @@ int TWFunc::Exec_Cmd(const string& cmd) {
switch(pid = fork())
{
case -1:
- LOGERR("Exec_Cmd(): vfork failed!\n");
+ LOGERR("Exec_Cmd(): vfork failed: %d!\n", errno);
return -1;
case 0: // child
execl("/sbin/sh", "sh", "-c", cmd.c_str(), NULL);