mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Fix printf warnings with %j and uintmax_t.
This commit is contained in:
parent
6f23bec893
commit
3f57c87ebf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106662
@ -40,6 +40,7 @@
|
||||
#include <sys/fcntl.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/fbio.h>
|
||||
#include <sys/stdint.h>
|
||||
|
||||
#include <vm/vm.h>
|
||||
#include <vm/vm_param.h>
|
||||
@ -2454,8 +2455,8 @@ vga_mmap_buf(video_adapter_t *adp, vm_offset_t offset, int prot)
|
||||
return -1;
|
||||
|
||||
#if VGA_DEBUG > 0
|
||||
printf("vga_mmap_buf(): window:0x%x, offset:0x%x\n",
|
||||
adp->va_info.vi_window, offset);
|
||||
printf("vga_mmap_buf(): window:0x%jx, offset:0x%jx\n",
|
||||
(uintmax_t)adp->va_info.vi_window, (uintmax_t)offset);
|
||||
#endif
|
||||
|
||||
/* XXX: is this correct? */
|
||||
|
Loading…
Reference in New Issue
Block a user