summaryrefslogtreecommitdiff
path: root/xen
diff options
context:
space:
mode:
Diffstat (limited to 'xen')
-rw-r--r--xen/block.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/block.c b/xen/block.c
index fb18b67..4253ef0 100644
--- a/xen/block.c
+++ b/xen/block.c
@@ -517,7 +517,7 @@ device_read (void *d, ipc_port_t reply_port,
thread_block(NULL);
if (err)
- printf("error reading %d bytes at sector %d\n", amt,
+ printf("error reading %d bytes at sector %ld\n", amt,
bn + offset / 512);
for (i = 0; i < nbpages; i++)