1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00

Fix verbose printout of "" name

This commit is contained in:
Peter Dufault 1995-01-26 23:40:40 +00:00
parent 9d6b125366
commit daa21be5f0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5945

View File

@ -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)