projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31a53c6
)
Fix compiler warning.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 6 Jun 2008 01:03:06 +0000
(
01:03
+0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 6 Jun 2008 01:03:06 +0000
(
01:03
+0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4676
c046a42c
-6fe2-441c-8c8c-
71466251a162
nbd.c
patch
|
blob
|
history
diff --git
a/nbd.c
b/nbd.c
index fcf0339292518e456c7afe8abc159e86acf71e59..c7d63d34879e3b5bccc6a824727a1a70f5917747 100644
(file)
--- 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 (%
l
u)",
+ LOG("len (%u) is larger than max len (%u)",
len, sizeof(data));
errno = EINVAL;
return -1;