From ac88066d3b99358f57ab6ba745eaf6019e591d8b Mon Sep 17 00:00:00 2001 From: mjacob Date: Sun, 20 Dec 1998 20:32:34 +0000 Subject: 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 61caea1..2c90120 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", -- cgit v1.1