Fix
authorMichal Sojka <sojka@os.inf.tu-dresden.de>
Tue, 20 Sep 2011 00:22:16 +0000 (02:22 +0200)
committerMichal Sojka <sojka@os.inf.tu-dresden.de>
Tue, 20 Sep 2011 00:22:16 +0000 (02:22 +0200)
latester/latester.c

index bf0eff0..fa8c7d6 100644 (file)
@@ -260,7 +260,7 @@ void msg_info_print(FILE *f, struct msg_info *mi)
                        num, S(mi->ts_sent), sent, S(mi->ts_rx_final_kern), S(mi->ts_rx_final), received,
                        DIFF(mi->ts_sent, mi->ts_rx_final_kern),
                        DIFF(mi->ts_sent, mi->ts_rx_final),
-                       calc_frame_txtime(mi->received));
+                       calc_frame_txtime(&mi->received));
                break;
        case 3:
                fprintf(f, "%ld: %s %s -> %s (%s) -> %s (%s) %s = %s (%s), %s (%s) %d\n",
@@ -271,7 +271,7 @@ void msg_info_print(FILE *f, struct msg_info *mi)
                        DIFF(mi->ts_sent, mi->ts_rx_onwire),
                        DIFF(mi->ts_rx_onwire_kern, mi->ts_rx_final_kern),
                        DIFF(mi->ts_rx_onwire, mi->ts_rx_final),
-                       calc_frame_txtime(mi->received));
+                       calc_frame_txtime(&mi->received));
                break;
        }
 #undef S