Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
#include <sys/timerfd.h>
#include <time.h>
#include <unistd.h>
+#include <inttypes.h> /* Definition of PRIu64 */
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h> /* Definition of uint64_t */
tot_exp += exp;
print_elapsed_time();
- printf("read: %llu; total=%llu\en",
- (unsigned long long) exp,
- (unsigned long long) tot_exp);
+ printf("read: %"PRIu64"; total=%"PRIu64"\en", exp, tot_exp);
}
exit(EXIT_SUCCESS);