iscsi-perf: use uint64_t instead of u_int64_t
because portability Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
+2
-2
@@ -71,9 +71,9 @@ struct client {
|
|||||||
int retry_cnt;
|
int retry_cnt;
|
||||||
};
|
};
|
||||||
|
|
||||||
u_int64_t get_clock_ns(void) {
|
uint64_t get_clock_ns(void) {
|
||||||
int res;
|
int res;
|
||||||
u_int64_t ns;
|
uint64_t ns;
|
||||||
|
|
||||||
#ifdef HAVE_CLOCK_GETTIME
|
#ifdef HAVE_CLOCK_GETTIME
|
||||||
struct timespec ts;
|
struct timespec ts;
|
||||||
|
|||||||
Reference in New Issue
Block a user