aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorPeter Dufault <dufault@FreeBSD.org>1995-01-26 23:40:40 +0000
committerPeter Dufault <dufault@FreeBSD.org>1995-01-26 23:40:40 +0000
commitdaa21be5f06cc7db070bf374e588414702dd6562 (patch)
tree9dd395c68cb99c20d0d50725dcb9cb65fd1b2765 /sbin
parent9d6b125366fd8cb3675af53de07954f3b12b07c5 (diff)
downloadsrc-daa21be5f06cc7db070bf374e588414702dd6562.tar.gz
src-daa21be5f06cc7db070bf374e588414702dd6562.zip
Fix verbose printout of "" name
Notes
Notes: svn path=/head/; revision=5945
Diffstat (limited to 'sbin')
-rw-r--r--sbin/scsi/scsi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/scsi/scsi.c b/sbin/scsi/scsi.c
index 603fd8e417ed..7837caca48e8 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)