summaryrefslogtreecommitdiff
path: root/nbd.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-06 01:03:06 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-06 01:03:06 +0000
commitdcf3a079e5e09c85712cfa4c090f226049075541 (patch)
tree6676076f2efeb9bea45c139c2d81bdd595974888 /nbd.c
parentCompile fix for Apple, by C.W. Betts. (diff)
downloadqemu-kvm-dcf3a079e5e09c85712cfa4c090f226049075541.tar.gz
qemu-kvm-dcf3a079e5e09c85712cfa4c090f226049075541.tar.bz2
qemu-kvm-dcf3a079e5e09c85712cfa4c090f226049075541.zip
Fix compiler warning.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4676 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'nbd.c')
-rw-r--r--nbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nbd.c b/nbd.c
index fcf033929..c7d63d348 100644
--- a/nbd.c
+++ b/nbd.c
@@ -388,7 +388,7 @@ int nbd_trip(BlockDriverState *bs, int csock, off_t size, uint64_t dev_offset, o
}
if (len > sizeof(data)) {
- LOG("len (%u) is larger than max len (%lu)",
+ LOG("len (%u) is larger than max len (%u)",
len, sizeof(data));
errno = EINVAL;
return -1;