From 3ca2809ec59d1fea913c3df23eb3f9539b8d87cc Mon Sep 17 00:00:00 2001 From: Dan Liew Date: Thu, 3 Apr 2014 16:34:49 +0100 Subject: Fix mistake in StatsTracker. It should be reporting process ID but instead it was reporting real user ID of the process. --- lib/Core/StatsTracker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Core/StatsTracker.cpp') diff --git a/lib/Core/StatsTracker.cpp b/lib/Core/StatsTracker.cpp index bbea2a98..4709a5bc 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: " << getuid() << "\n"; + of << "pid: " << getpid() << "\n"; of << "cmd: " << m->getModuleIdentifier() << "\n\n"; of << "\n"; -- cgit 1.4.1