diff options
author | dufault <dufault@FreeBSD.org> | 1995-01-26 23:40:40 +0000 |
---|---|---|
committer | dufault <dufault@FreeBSD.org> | 1995-01-26 23:40:40 +0000 |
commit | 34ecc54a2cac749f9eee4139f62595ecb4097992 (patch) | |
tree | 9dd395c68cb99c20d0d50725dcb9cb65fd1b2765 /sbin | |
parent | 17c2207d91f2e1977f8a2531072e7d30a7ae2d3f (diff) | |
download | FreeBSD-src-34ecc54a2cac749f9eee4139f62595ecb4097992.zip FreeBSD-src-34ecc54a2cac749f9eee4139f62595ecb4097992.tar.gz |
Fix verbose printout of "" name
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/scsi/scsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/scsi/scsi.c b/sbin/scsi/scsi.c index 603fd8e..7837cac 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.1 1993/11/18 05:05:28 rgrimes Exp $ + * $Id: scsi.c,v 1.1.1.1 1995/01/24 12:07:27 dufault Exp $ */ #include <stdio.h> @@ -191,7 +191,7 @@ char *cget(void *hook, char *name) */ void arg_put(void *hook, int letter, void *arg, int count, char *name) { - if (verbose) + if (verbose && name && *name) printf("%s: ", name); switch(letter) |