From d98444ec62a69b6603713b348333790c20d72ac8 Mon Sep 17 00:00:00 2001 From: bouyer Date: Wed, 21 Jan 2009 22:34:55 +0000 Subject: [PATCH] minor() is 32bit again, and so is DISKNUMBER/DISKPART. Pointed out by Paul Goyette, thanks ! --- sys/arch/xen/xen/xbdback.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/xen/xen/xbdback.c b/sys/arch/xen/xen/xbdback.c index a0c0dfb0d292..ad62285b13fe 100644 --- a/sys/arch/xen/xen/xbdback.c +++ b/sys/arch/xen/xen/xbdback.c @@ -1,4 +1,4 @@ -/* $NetBSD: xbdback.c,v 1.37 2009/01/16 20:16:47 jym Exp $ */ +/* $NetBSD: xbdback.c,v 1.38 2009/01/21 22:34:55 bouyer Exp $ */ /* * Copyright (c) 2005 Manuel Bouyer. @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: xbdback.c,v 1.37 2009/01/16 20:16:47 jym Exp $"); +__KERNEL_RCSID(0, "$NetBSD: xbdback.c,v 1.38 2009/01/21 22:34:55 bouyer Exp $"); #include #include @@ -618,7 +618,7 @@ xbdback_ctrlif_rx(ctrl_msg_t *msg, unsigned long id) req->status = BLKIF_BE_STATUS_VBD_NOT_FOUND; goto end; } - printf("xbd backend: detach device %s%" PRIu64 "%" PRIu64 " " + printf("xbd backend: detach device %s%" PRIu32 "%" PRIu32 " " "for domain %d\n", devsw_blk2name(major(vbd->dev)), DISKUNIT(vbd->dev), DISKPART(vbd->dev) + 'a', xbdi->domid);