Commit e6912137 authored by Joanne Hugé's avatar Joanne Hugé

Fix small mistakes

parent c40bee1a
...@@ -42,7 +42,7 @@ static void init_tx_buffer(size_t _tx_buffer_len); ...@@ -42,7 +42,7 @@ static void init_tx_buffer(size_t _tx_buffer_len);
static int so_priority = 3; static int so_priority = 3;
static struct sock_txtime sk_txtime; static struct sock_txtime sk_txtime;
static unsigned char *tx_buffer; static char *tx_buffer;
static size_t tx_buffer_len; static size_t tx_buffer_len;
static int sock_fd; static int sock_fd;
......
...@@ -332,7 +332,7 @@ static void sigint_handler(int sig_num) { ...@@ -332,7 +332,7 @@ static void sigint_handler(int sig_num) {
print_histograms(); print_histograms();
if(param->stats.lost_packets) if(param->stats.lost_packets)
fprintf(stderr, "%d packets were lost\n"); fprintf(stderr, "%d packets were lost\n", param->stats.lost_packets);
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment