On 2011-05-04 13:14, Francis Giraldeau wrote:
> ---
>  lttv/modules/text/formattedDump.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/lttv/modules/text/formattedDump.c 
> b/lttv/modules/text/formattedDump.c
> index c4054aa..fd893b0 100644
> --- a/lttv/modules/text/formattedDump.c
> +++ b/lttv/modules/text/formattedDump.c
> @@ -239,7 +239,7 @@ void lttv_event_to_string(LttEvent *e, GString 
> *string_buffer, gboolean mandator
>                                               time.tv_sec);
>                               break;
>                       case 'n':
> -                             g_string_append_printf(string_buffer, "%ld",
> +                             g_string_append_printf(string_buffer, "%09ld",
>                                               time.tv_nsec); 
I would prefer to have two differents options for output with and
without padding, so we can choose if we want it or not.

_______________________________________________
ltt-dev mailing list
[email protected]
http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev

Reply via email to