aboutsummaryrefslogtreecommitdiff
path: root/sbin/camcontrol/camcontrol.c
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>1998-12-20 20:32:34 +0000
committerMatt Jacob <mjacob@FreeBSD.org>1998-12-20 20:32:34 +0000
commit74f079ee3544b0f618f549feddd312a0668c08b4 (patch)
tree6a0dd12c56282513cb82b31dc65300df65a4933e /sbin/camcontrol/camcontrol.c
parentf063d76ae36ca42484455bf5275782b00543ce20 (diff)
downloadsrc-74f079ee3544b0f618f549feddd312a0668c08b4.tar.gz
src-74f079ee3544b0f618f549feddd312a0668c08b4.zip
Bad Dog! No Biscuit! *Never* commit without testing- even if it was
"just a printf formatting change"....
Notes
Notes: svn path=/head/; revision=41968
Diffstat (limited to 'sbin/camcontrol/camcontrol.c')
-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 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 <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",