From: David van Moolenbroek Date: Wed, 7 Dec 2011 10:52:12 +0000 (+0100) Subject: btrace: gcc fix X-Git-Tag: v3.2.0~195 X-Git-Url: http://zhaoyanbai.com/repos/icons/debian/static/datamaps.china.min.js?a=commitdiff_plain;h=cb98b586fd3beb373affd041b25e9f7b575e17ec;p=minix.git btrace: gcc fix --- diff --git a/commands/btrace/btrace.c b/commands/btrace/btrace.c index 716313ca8..1bacf1eb5 100644 --- a/commands/btrace/btrace.c +++ b/commands/btrace/btrace.c @@ -6,6 +6,7 @@ #include #include #include +#include #include static void usage(char *name) @@ -135,7 +136,7 @@ static void dump_entry(btrace_entry *entry) switch (entry->request) { case BTREQ_OPEN: - printf("- access:\t%lx\n", entry->size); + printf("- access:\t%x\n", entry->size); break; case BTREQ_READ: case BTREQ_WRITE: