diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-05-22 08:02:12 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-05-22 08:02:12 +0000 |
commit | 0bfcd599e3f5c5679cc7d0165a0a1822e2f60de2 (patch) | |
tree | 3a2d53ae75005891bf4dd662465cc1cffab36f0b /nbd.c | |
parent | 4556bd8b2514a55d48c15b1adb17537f49657744 (diff) |
Fix %lld or %llx printf format use
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'nbd.c')
-rw-r--r-- | nbd.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -353,8 +353,7 @@ int nbd_init(int fd, int csock, off_t size, size_t blocksize) return -1; } - TRACE("Setting size to %llu block(s)", - (unsigned long long)(size / blocksize)); + TRACE("Setting size to %zd block(s)", (size_t)(size / blocksize)); if (ioctl(fd, NBD_SET_SIZE_BLOCKS, size / blocksize) == -1) { int serrno = errno; |