Fix an obvious typo (wrong sign of test). At the same time, make the early

probe printf prefix unambiguous.
This commit is contained in:
is 1996-04-25 18:54:45 +00:00
parent 07ebdf3729
commit 07beed1117
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: aha.c,v 1.7 1996/04/11 22:27:59 cgd Exp $ */
/* $NetBSD: aha.c,v 1.8 1996/04/25 18:54:45 is Exp $ */
#define AHADIAG
#define integrate
@ -200,10 +200,10 @@ aha_cmd(iobase, sc, icnt, ibuf, ocnt, obuf)
u_char sts;
u_char opcode = ibuf[0];
if (sc == NULL)
if (sc != NULL)
name = sc->sc_dev.dv_xname;
else
name = "(probe)";
name = "(aha probe)";
/*
* Calculate a reasonable timeout for the command.

View File

@ -1,4 +1,4 @@
/* $NetBSD: bt.c,v 1.7 1996/04/11 22:28:25 cgd Exp $ */
/* $NetBSD: bt.c,v 1.8 1996/04/25 18:54:47 is Exp $ */
#define BTDIAG
#define integrate
@ -200,10 +200,10 @@ bt_cmd(iobase, sc, icnt, ibuf, ocnt, obuf)
u_char sts;
u_char opcode = ibuf[0];
if (sc == NULL)
if (sc != NULL)
name = sc->sc_dev.dv_xname;
else
name = "(probe)";
name = "(bt probe)";
/*
* Calculate a reasonable timeout for the command.