diff options
author | joerg <joerg@FreeBSD.org> | 1995-07-30 12:58:47 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1995-07-30 12:58:47 +0000 |
commit | 50c0a0cba1e08a7caec95cc90e7b8dbd54e48e48 (patch) | |
tree | 8c16d116a5ac265171fbde218a068f4841d397c4 /sbin/scsi/scsi.c | |
parent | 8c903eabc5f00b1a23b02135e103df007de7c625 (diff) | |
download | FreeBSD-src-50c0a0cba1e08a7caec95cc90e7b8dbd54e48e48.zip FreeBSD-src-50c0a0cba1e08a7caec95cc90e7b8dbd54e48e48.tar.gz |
scsi(8) used to fall off the end of main(), returning an arbitrary
value.
Reviewed by:
Submitted by:
Obtained from:
Diffstat (limited to 'sbin/scsi/scsi.c')
-rw-r--r-- | sbin/scsi/scsi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/scsi/scsi.c b/sbin/scsi/scsi.c index 0282131..df3ade7 100644 --- a/sbin/scsi/scsi.c +++ b/sbin/scsi/scsi.c @@ -39,7 +39,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: scsi.c,v 1.8 1995/05/30 06:09:58 rgrimes Exp $ + * $Id: scsi.c,v 1.9 1995/07/11 09:21:33 dufault Exp $ */ #include <stdio.h> @@ -944,4 +944,5 @@ void main(int argc, char **argv) } else if (modeflag) { mode_edit(fd, modepage, editflag, argc, argv); } + exit(0); } |