fix loopback example building with -DNDEBUG

This commit is contained in:
Vladimir Rutsky 2016-02-01 00:23:50 +03:00
parent 491f7ba326
commit 45b4ef924b
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ int main(int argc, char *argv[])
/* Figure out the size of the underlying block device. */
err = ioctl(fd, BLKGETSIZE64, &size);
assert(err != -1);
(void)err;
fprintf(stderr, "The size of this device is %ld bytes.\n", size);
bop.size = size;