summaryrefslogtreecommitdiffstats
path: root/dev/ideviceheartbeat.c
diff options
context:
space:
mode:
Diffstat (limited to 'dev/ideviceheartbeat.c')
-rw-r--r--dev/ideviceheartbeat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev/ideviceheartbeat.c b/dev/ideviceheartbeat.c
index fe2cdf3..c92ff90 100644
--- a/dev/ideviceheartbeat.c
+++ b/dev/ideviceheartbeat.c
@@ -21,6 +21,7 @@
#include <stdio.h>
#include <string.h>
+#include <inttypes.h>
#include <signal.h>
#include <stdlib.h>
@@ -129,7 +130,7 @@ int main(int argc, char *argv[])
plist_get_uint_val(node, &interval);
}
- printf("> marco: supports_sleepy_time %d, interval %llu\n", b, interval);
+ printf("> marco: supports_sleepy_time %d, interval %"PRIu64"\n", b, interval);
plist_free(message);
message = NULL;