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
Attachments
Activity
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Fix Version/s | New: Lustre 2.11.0 [ 13091 ] |
Assignee | Original: WC Triage [ wc-triage ] | New: Chris Horn [ hornc ] |