btrace: gcc fix

This commit is contained in:
David van Moolenbroek 2011-12-07 11:52:12 +01:00
parent 3b0ee3f234
commit cb98b586fd

View file

@ -6,6 +6,7 @@
#include <fcntl.h> #include <fcntl.h>
#include <minix/types.h> #include <minix/types.h>
#include <minix/btrace.h> #include <minix/btrace.h>
#include <minix/u64.h>
#include <sys/ioc_block.h> #include <sys/ioc_block.h>
static void usage(char *name) static void usage(char *name)
@ -135,7 +136,7 @@ static void dump_entry(btrace_entry *entry)
switch (entry->request) { switch (entry->request) {
case BTREQ_OPEN: case BTREQ_OPEN:
printf("- access:\t%lx\n", entry->size); printf("- access:\t%x\n", entry->size);
break; break;
case BTREQ_READ: case BTREQ_READ:
case BTREQ_WRITE: case BTREQ_WRITE: