Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
Had a compilation fail due:
directio.c: In function 'main': directio.c:114:16: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type '__blksize_t' [-Werror=format=] st.st_blksize); ^
This is the code
printf("directio on %s for %dx%lu bytes \n", fname, blocks, st.st_blksize);
Think we can get by with just casting that st_blksize to an unsigned long. I'll push a patch
Landed in 2.11