Commit dcf3a079e5e09c85712cfa4c090f226049075541

Authored by ths
1 parent 31a53c63

Fix compiler warning.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4676 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
... ... @@ -388,7 +388,7 @@ int nbd_trip(BlockDriverState *bs, int csock, off_t size, uint64_t dev_offset, o
388 388 }
389 389  
390 390 if (len > sizeof(data)) {
391   - LOG("len (%u) is larger than max len (%lu)",
  391 + LOG("len (%u) is larger than max len (%u)",
392 392 len, sizeof(data));
393 393 errno = EINVAL;
394 394 return -1;
... ...