Index: aic79xx.c =================================================================== RCS file: /space/ncvs/src/sys/dev/aic7xxx/aic79xx.c,v retrieving revision 1.4 diff -u -r1.4 aic79xx.c --- aic79xx.c 26 Sep 2002 22:53:59 -0000 1.4 +++ aic79xx.c 4 Nov 2002 12:32:15 -0000 @@ -50,6 +50,7 @@ #include #include #include +#include #endif /******************************** Globals *************************************/ @@ -4203,7 +4204,7 @@ } #ifdef AHD_DEBUG if ((ahd_debug & AHD_SHOW_MEMORY) != 0) { - printf("%s: scb size = 0x%x, hscb size - 0x%x\n", + printf("%s: scb size = 0x%zx, hscb size - 0x%zx\n", ahd_name(ahd), sizeof(struct scb), sizeof(struct hardware_scb)); } @@ -4597,8 +4598,8 @@ } #ifdef AHD_DEBUG if ((ahd_debug & AHD_SHOW_MEMORY) != 0) - printf("%s: ahd_sglist_allocsize = 0x%x\n", ahd_name(ahd), - ahd_sglist_allocsize(ahd)); + printf("%s: ahd_sglist_allocsize = 0x%jx\n", ahd_name(ahd), + (intmax_t)ahd_sglist_allocsize(ahd)); #endif scb_data->init_level++;