int/long printf format problems on the Alpha.
This commit is contained in:
parent
3efc015bae
commit
6d7b539a6e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=48410
@ -26,7 +26,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: cam_periph.c,v 1.17 1999/05/25 20:17:28 gibbs Exp $
|
||||
* $Id: cam_periph.c,v 1.18 1999/06/26 02:47:06 mckusick Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -551,10 +551,10 @@ cam_periph_mapmem(union ccb *ccb, struct cam_periph_map_info *mapinfo)
|
||||
*/
|
||||
if ((lengths[i] +
|
||||
(((vm_offset_t)(*data_ptrs[i])) & PAGE_MASK)) > DFLTPHYS){
|
||||
printf("cam_periph_mapmem: attempt to map %u bytes, "
|
||||
printf("cam_periph_mapmem: attempt to map %lu bytes, "
|
||||
"which is greater than DFLTPHYS(%d)\n",
|
||||
lengths[i] +
|
||||
(((vm_offset_t)(*data_ptrs[i])) & PAGE_MASK),
|
||||
(long)(lengths[i] +
|
||||
(((vm_offset_t)(*data_ptrs[i])) & PAGE_MASK)),
|
||||
DFLTPHYS);
|
||||
return(E2BIG);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user