diff options
author | Rémi Lefèvre <remi.lefevre@parrot.com> | 2016-12-09 17:12:44 +0100 |
---|---|---|
committer | Rémi Lefèvre <remi.lefevre@parrot.com> | 2016-12-11 11:51:58 +0100 |
commit | 3b8cfeecd6ee3d94452315a5bb6525ddea06caff (patch) | |
tree | 78a00290e1b15d979bf28d3a30b86b34e39b1785 /src/proc_net_dev.c | |
parent | b99c76d78e0038c184c76815a68bf8846f574b4c (diff) |
use usec_t for microseconds time variables
Also use USEC_PER_SEC for seconds to microseconds conversions.
Signed-off-by: Rémi Lefèvre <remi.lefevre@parrot.com>
Diffstat (limited to 'src/proc_net_dev.c')
-rw-r--r-- | src/proc_net_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proc_net_dev.c b/src/proc_net_dev.c index 33d140c471..06182d44ff 100644 --- a/src/proc_net_dev.c +++ b/src/proc_net_dev.c @@ -1,6 +1,6 @@ #include "common.h" -int do_proc_net_dev(int update_every, unsigned long long dt) { +int do_proc_net_dev(int update_every, usec_t dt) { static procfile *ff = NULL; static int enable_new_interfaces = -1, enable_ifb_interfaces = -1; static int do_bandwidth = -1, do_packets = -1, do_errors = -1, do_drops = -1, do_fifo = -1, do_compressed = -1, do_events = -1; |