summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2013-06-25 14:47:45 +0000
committerEd Maste <emaste@freebsd.org>2013-06-25 14:47:45 +0000
commita708a36cea6c95e8420a4e83ace523ce021edb9f (patch)
tree356123714fc8e08df17ffc7b144dbff5c065625e
parent242fcb846e51f94d0cd224f773a0e977f4a3eab0 (diff)
downloadbcm5719-llvm-a708a36cea6c95e8420a4e83ace523ce021edb9f.tar.gz
bcm5719-llvm-a708a36cea6c95e8420a4e83ace523ce021edb9f.zip
Match printf format specifiers and arguments
llvm-svn: 184854
-rw-r--r--lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp b/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp
index de52c3ba3f4..3cbcfb328fb 100644
--- a/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp
+++ b/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp
@@ -69,13 +69,13 @@ PtraceWrapper(int req, lldb::pid_t pid, void *addr, int data,
Log *log (ProcessPOSIXLog::GetLogIfAllCategoriesSet(POSIX_LOG_PTRACE));
if (log) {
- log->Printf("ptrace(%s, %u, %p, %x) called from file %s line %d",
+ log->Printf("ptrace(%s, %lu, %p, %x) called from file %s line %d",
reqName, pid, addr, data, file, line);
if (req == PT_IO) {
struct ptrace_io_desc *pi = (struct ptrace_io_desc *) addr;
log->Printf("PT_IO: op=%s offs=%zx size=%ld",
- Get_PT_IO_OP(pi->piod_op), pi->piod_offs, pi->piod_len);
+ Get_PT_IO_OP(pi->piod_op), (size_t)pi->piod_offs, pi->piod_len);
}
}
OpenPOWER on IntegriCloud