mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 12:28:58 +00:00
Bad Dog! No Biscuit! *Never* commit without testing- even if it was
"just a printf formatting change"....
This commit is contained in:
parent
f063d76ae3
commit
74f079ee35
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=41968
@ -25,7 +25,7 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* 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>
|
#include <sys/ioctl.h>
|
||||||
@ -896,8 +896,8 @@ rescan_or_reset_bus(int bus, int rescan)
|
|||||||
close(fd);
|
close(fd);
|
||||||
|
|
||||||
if ((ccb.ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP) {
|
if ((ccb.ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP) {
|
||||||
fprintf(stdout, "%s of bus %d was successful\n", bus,
|
fprintf(stdout, "%s of bus %d was successful\n",
|
||||||
rescan? "Re-scan" : "Reset");
|
rescan? "Re-scan" : "Reset", bus);
|
||||||
return(0);
|
return(0);
|
||||||
} else {
|
} else {
|
||||||
fprintf(stdout, "%s of bus %d returned error %#x\n",
|
fprintf(stdout, "%s of bus %d returned error %#x\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user