diff options
author | dufault <dufault@FreeBSD.org> | 1995-03-03 19:00:39 +0000 |
---|---|---|
committer | dufault <dufault@FreeBSD.org> | 1995-03-03 19:00:39 +0000 |
commit | a3126d2ae0e10e348ae17a16dec2a1deb88fcce4 (patch) | |
tree | cce461406d82088771b38fd30bd079bf6bbd5504 /usr.sbin/config | |
parent | 810f3ebb025f6297a9df5f867455c1a78d6a5b02 (diff) | |
download | FreeBSD-src-a3126d2ae0e10e348ae17a16dec2a1deb88fcce4.zip FreeBSD-src-a3126d2ae0e10e348ae17a16dec2a1deb88fcce4.tar.gz |
Fixed bug with wiring down given SCSI bus.
Diffstat (limited to 'usr.sbin/config')
-rw-r--r-- | usr.sbin/config/mkioconf.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/config/mkioconf.c b/usr.sbin/config/mkioconf.c index c4d6c2b..413be07 100644 --- a/usr.sbin/config/mkioconf.c +++ b/usr.sbin/config/mkioconf.c @@ -854,11 +854,11 @@ scbus_devtab(fp, dev_idp) if (mp == 0 || !eq(mp->d_name, "scbus")) { continue; } - mp = mp->d_conn; - if (mp == 0) { - printf("%s%s: devices not attached to a SCSI controller\n", - dp->d_name, wnum(dp->d_unit)); - continue; + + if (mp->d_conn == 0) { + fprintf(stderr, + "%s%s: Warning, can't tell what is attached to scbus%s.\n", + dp->d_name, wnum(dp->d_unit), wnum(mp->d_unit)); } fprintf(fp, "{ "); |