summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>1998-12-20 20:32:34 +0000
committermjacob <mjacob@FreeBSD.org>1998-12-20 20:32:34 +0000
commitac88066d3b99358f57ab6ba745eaf6019e591d8b (patch)
tree7553341e9497fca01737978a0340db3e6859c811
parent5f658e4d70a33a47ba297f39d60e1d37c62ef753 (diff)
downloadFreeBSD-src-ac88066d3b99358f57ab6ba745eaf6019e591d8b.zip
FreeBSD-src-ac88066d3b99358f57ab6ba745eaf6019e591d8b.tar.gz
Bad Dog! No Biscuit! *Never* commit without testing- even if it was
"just a printf formatting change"....
-rw-r--r--sbin/camcontrol/camcontrol.c6
1 files 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 <sys/ioctl.h>
@@ -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",
OpenPOWER on IntegriCloud