diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2010-07-20 15:16:09 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2010-07-20 15:16:09 -0700 |
| commit | 9935a48e95e1a56b64f08e42abfae496f2906705 (patch) | |
| tree | 8ab1ae073072ab77d1a6f5010fbabbf497366ef3 /src/rt/rust_task.cpp | |
| parent | 53f787e0b3ebe95f8b771d219eb4370f8871c4e8 (diff) | |
| download | rust-9935a48e95e1a56b64f08e42abfae496f2906705.tar.gz rust-9935a48e95e1a56b64f08e42abfae496f2906705.zip | |
Fix message formatting in runtime library.
Diffstat (limited to 'src/rt/rust_task.cpp')
| -rw-r--r-- | src/rt/rust_task.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index 357edbf187d..6f96ac916c8 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -280,9 +280,9 @@ rust_task::run_after_return(size_t nargs, uintptr_t glue) uintptr_t *retpc = ((uintptr_t *) sp) - 1; dom->log(rust_log::TASK|rust_log::MEM, - "run_after_return: overwriting retpc=x%" PRIxPTR - " @ runtime_sp=x%" PRIxPTR - " with glue=x%" PRIxPTR, + "run_after_return: overwriting retpc=0x%" PRIxPTR + " @ runtime_sp=0x%" PRIxPTR + " with glue=0x%" PRIxPTR, *retpc, sp, glue); // Move the current return address (which points into rust code) @@ -301,9 +301,9 @@ rust_task::run_on_resume(uintptr_t glue) uintptr_t* rsp = (uintptr_t*) rust_sp; rsp += n_callee_saves; dom->log(rust_log::TASK|rust_log::MEM, - "run_on_resume: overwriting retpc=x%" PRIxPTR - " @ rust_sp=x%" PRIxPTR - " with glue=x%" PRIxPTR, + "run_on_resume: overwriting retpc=0x%" PRIxPTR + " @ rust_sp=0x%" PRIxPTR + " with glue=0x%" PRIxPTR, *rsp, rsp, glue); *rsp = glue; } |
