about summary refs log tree commit diff homepage
path: root/lib
diff options
context:
space:
mode:
authorDan Liew <daniel.liew@imperial.ac.uk>2014-04-03 16:11:53 +0100
committerMartin Nowack <martin@se.inf.tu-dresden.de>2014-04-14 10:34:54 +0200
commit60ff94b3ef5074d9da936d9ef59274bc11b43e07 (patch)
tree68f63c004e71c7013d52a57d8bed1d038213331a /lib
parentf8f8da3c374ac926e8d0eca4cca83d8a8a095b26 (diff)
downloadklee-60ff94b3ef5074d9da936d9ef59274bc11b43e07.tar.gz
Replace sys::Process::GetCurrentUserId() with getuid() because it
has been removed in LLVM3.4
Diffstat (limited to 'lib')
-rw-r--r--lib/Core/StatsTracker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Core/StatsTracker.cpp b/lib/Core/StatsTracker.cpp
index 1bb9885a..bbea2a98 100644
--- a/lib/Core/StatsTracker.cpp
+++ b/lib/Core/StatsTracker.cpp
@@ -440,7 +440,7 @@ void StatsTracker::writeIStats() {
 
   of << "version: 1\n";
   of << "creator: klee\n";
-  of << "pid: " << sys::Process::GetCurrentUserId() << "\n";
+  of << "pid: " << getuid() << "\n";
   of << "cmd: " << m->getModuleIdentifier() << "\n\n";
   of << "\n";