summaryrefslogtreecommitdiffstats
path: root/sys/cam/cam_periph.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-07-01 19:56:50 +0000
committerpeter <peter@FreeBSD.org>1999-07-01 19:56:50 +0000
commitf14aea7953bd22f80bc04b5b5f8a3100b4796611 (patch)
tree7c452b44613a2186951a97d05a777bc3496d78ca /sys/cam/cam_periph.c
parent18cf795f279ca097b6da5a7eb2132a6727943d50 (diff)
downloadFreeBSD-src-f14aea7953bd22f80bc04b5b5f8a3100b4796611.zip
FreeBSD-src-f14aea7953bd22f80bc04b5b5f8a3100b4796611.tar.gz
int/long printf format problems on the Alpha.
Diffstat (limited to 'sys/cam/cam_periph.c')
-rw-r--r--sys/cam/cam_periph.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/cam/cam_periph.c b/sys/cam/cam_periph.c
index 6b6e0b4..a73972c 100644
--- a/sys/cam/cam_periph.c
+++ b/sys/cam/cam_periph.c
@@ -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);
}
OpenPOWER on IntegriCloud