Changeset: 170558b9a85a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=170558b9a85a
Modified Files:
        clients/mapiclient/tomograph.c
Branch: Feb2013
Log Message:

print correct unit


diffs (12 lines):

diff --git a/clients/mapiclient/tomograph.c b/clients/mapiclient/tomograph.c
--- a/clients/mapiclient/tomograph.c
+++ b/clients/mapiclient/tomograph.c
@@ -1041,7 +1041,7 @@ static void fprintf_tm ( FILE *f, lng ti
        }
        if (TME & TME_MS && (tail || time >= US_MS)) {
                fmt = tail ? "%0*d%s" : "%*d%s";
-               fprintf(f, fmt, digits, (int) (time / US_MS), (TME & TME_US) ? 
"." : "s");
+               fprintf(f, fmt, digits, (int) (time / US_MS), (TME & TME_US) ? 
"." : tail ? "s" : "ms");
                if (time / US_MS > 99)
                        digits = 1;
                else if (time / US_MS > 9)
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to