projects
/
platform
/
upstream
/
ltrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
796fb77
)
fixed typo: toplevel_format_lens() now uses ptr data when talking about pointers
author
Dima Kogan
<dima@secretsauce.net>
Sun, 13 Apr 2014 04:59:26 +0000
(21:59 -0700)
committer
Chanho Park
<chanho61.park@samsung.com>
Fri, 22 Aug 2014 11:38:25 +0000
(20:38 +0900)
lens_default.c
patch
|
blob
|
history
diff --git
a/lens_default.c
b/lens_default.c
index
958114f
..
fb66b9d
100644
(file)
--- a/
lens_default.c
+++ b/
lens_default.c
@@
-429,7
+429,7
@@
toplevel_format_lens(struct lens *lens, FILE *stream,
case ARGTYPE_POINTER:
if (value_is_zero(value, arguments))
return fprintf(stream, null_message);
- if (value->type->u.
array_info.elt_type
->type != ARGTYPE_VOID)
+ if (value->type->u.
ptr_info.info
->type != ARGTYPE_VOID)
return format_pointer(stream, value, arguments);
return format_integer(stream, value, INT_FMT_x, arguments);