Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save coypoop/afa1ed9818cf74dc478988a62290aace to your computer and use it in GitHub Desktop.
Save coypoop/afa1ed9818cf74dc478988a62290aace to your computer and use it in GitHub Desktop.
@@ -2136,8 +2146,8 @@
FWRITE, FSCRED);
if (error) {
WAPBL_PRINTF(WAPBL_PRINT_ERROR,
- ("wapbl_cache_sync: DIOCCACHESYNC on dev 0x%x "
- "returned %d\n", wl->wl_devvp->v_rdev, error));
+ ("wapbl_cache_sync: DIOCCACHESYNC on dev 0x%"PRIxMAX" "
+ "returned %d\n", (uintmax_t) wl->wl_devvp->v_rdev, error));
}
if (verbose) {
struct bintime d;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment