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

Fix wrong print format

parent e642aa94
#include <arpa/inet.h>
#include <errno.h>
#include <error.h>
#include <inttypes.h>
#include <netdb.h>
#include <netinet/in.h>
#include <pthread.h>
......@@ -111,7 +112,7 @@ int main(int argc, char *argv[]) {
for (;;) {
usleep(main_param.refresh_rate);
printf("%ld - %ld, %ld (%d)\n",
printf("%" PRIu64 " - %" PRIu64 ", %" PRIu64 " (%d)\n",
param.stats.max_interval - param.stats.min_interval,
param.stats.min_interval, param.stats.max_interval,
param.stats.packets_received);
......
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