From 74f079ee3544b0f618f549feddd312a0668c08b4 Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Sun, 20 Dec 1998 20:32:34 +0000 Subject: [PATCH] Bad Dog! No Biscuit! *Never* commit without testing- even if it was "just a printf formatting change".... --- sbin/camcontrol/camcontrol.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sbin/camcontrol/camcontrol.c b/sbin/camcontrol/camcontrol.c index 61caea11239c..2c901207ffd6 100644 --- a/sbin/camcontrol/camcontrol.c +++ b/sbin/camcontrol/camcontrol.c @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: camcontrol.c,v 1.6 1998/11/12 17:47:24 ken Exp $ + * $Id: camcontrol.c,v 1.7 1998/12/20 18:51:56 mjacob Exp $ */ #include @@ -896,8 +896,8 @@ rescan_or_reset_bus(int bus, int rescan) close(fd); if ((ccb.ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP) { - fprintf(stdout, "%s of bus %d was successful\n", bus, - rescan? "Re-scan" : "Reset"); + fprintf(stdout, "%s of bus %d was successful\n", + rescan? "Re-scan" : "Reset", bus); return(0); } else { fprintf(stdout, "%s of bus %d returned error %#x\n",