git.annexia.org
/
virt-mem.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64a4bb3
)
Don't corrupt terminal if the first symbol contains non-ASCII chars.
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 12 Aug 2008 10:11:24 +0000
(11:11 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 12 Aug 2008 10:11:24 +0000
(11:11 +0100)
lib/virt_mem_ksyms.ml
patch
|
blob
|
history
diff --git
a/lib/virt_mem_ksyms.ml
b/lib/virt_mem_ksyms.ml
index
4389983
..
0c4daf7
100644
(file)
--- a/
lib/virt_mem_ksyms.ml
+++ b/
lib/virt_mem_ksyms.ml
@@
-131,7
+131,7
@@
let find_kernel_symbols debug ({ mem = mem; domname = domname } as image) =
List.iter (
fun (addr, size) ->
eprintf "\t%Lx\t%Lx\t%!" addr size;
- eprintf "first symbol: %
s
\n%!"
+ eprintf "first symbol: %
S
\n%!"
(Virt_mem_mmap.get_string mem
(Virt_mem_mmap.follow_pointer mem
(Virt_mem_mmap.succ_long mem addr)))