[Lldb-commits] [lldb] r189361 - Fix missing declaration/includes in freebsd/Host.cpp
Daniel Malea
daniel.malea at intel.com
Tue Aug 27 09:03:22 PDT 2013
Author: dmalea
Date: Tue Aug 27 11:03:22 2013
New Revision: 189361
URL: http://llvm.org/viewvc/llvm-project?rev=189361&view=rev
Log:
Fix missing declaration/includes in freebsd/Host.cpp
Thanks for catching this Ed!
Modified:
lldb/trunk/source/Host/freebsd/Host.cpp
Modified: lldb/trunk/source/Host/freebsd/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/freebsd/Host.cpp?rev=189361&r1=189360&r2=189361&view=diff
==============================================================================
--- lldb/trunk/source/Host/freebsd/Host.cpp (original)
+++ lldb/trunk/source/Host/freebsd/Host.cpp Tue Aug 27 11:03:22 2013
@@ -33,6 +33,7 @@
#include "lldb/Core/DataExtractor.h"
#include "lldb/Core/StreamFile.h"
#include "lldb/Core/StreamString.h"
+#include "lldb/Core/Log.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/Platform.h"
@@ -146,7 +147,7 @@ Host::GetOSVersion(uint32_t &major,
if (uname(&un) < 0)
return false;
- status = sscanf(un.release, "%u.%u", &major, &minor);
+ int status = sscanf(un.release, "%u.%u", &major, &minor);
return status == 2;
}
More information about the lldb-commits
mailing list