From 1af69d693609f06476d871be4fe8fb6ebf8aed0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Schmidt?= Date: Tue, 8 Feb 2000 18:38:39 +0000 Subject: [PATCH] Probe cosmetics. --- sys/dev/ata/ata-disk.c | 4 ++-- sys/dev/ata/atapi-tape.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/ata/ata-disk.c b/sys/dev/ata/ata-disk.c index 410ecd5d453d..0629442b1a34 100644 --- a/sys/dev/ata/ata-disk.c +++ b/sys/dev/ata/ata-disk.c @@ -163,7 +163,7 @@ ad_attach(struct ata_softc *scp, int32_t device) printf("ad%d: <%.40s/%.8s> ATA-%d disk at ata%d as %s\n", adp->lun, AD_PARAM->model, AD_PARAM->revision, ad_version(AD_PARAM->versmajor), scp->lun, - (adp->unit == ATA_MASTER) ? "master" : "slave "); + (adp->unit == ATA_MASTER) ? "master" : "slave"); printf("ad%d: %luMB (%u sectors), %u cyls, %u heads, %u S/T, %u B/S\n", adp->lun, adp->total_secs / ((1024L * 1024L)/DEV_BSIZE), @@ -185,7 +185,7 @@ ad_attach(struct ata_softc *scp, int32_t device) adp->lun, adp->total_secs / ((1024L * 1024L) / DEV_BSIZE), AD_PARAM->model, adp->total_secs / (adp->heads * adp->sectors), adp->heads, adp->sectors, scp->lun, - (adp->unit == ATA_MASTER) ? "master" : "slave ", + (adp->unit == ATA_MASTER) ? "master" : "slave", ata_mode2str(adp->controller->mode[ATA_DEV(adp->unit)])); devstat_add_entry(&adp->stats, "ad", adp->lun, DEV_BSIZE, diff --git a/sys/dev/ata/atapi-tape.c b/sys/dev/ata/atapi-tape.c index 81953c228fbd..71c69ca066aa 100644 --- a/sys/dev/ata/atapi-tape.c +++ b/sys/dev/ata/atapi-tape.c @@ -185,7 +185,7 @@ ast_describe(struct ast_softc *stp) stp->lun, ATA_PARAM(stp->atp->controller, stp->atp->unit)->model, ATA_PARAM(stp->atp->controller, stp->atp->unit)->revision, stp->atp->controller->lun, - (stp->atp->unit == ATA_MASTER) ? "master" : "slave "); + (stp->atp->unit == ATA_MASTER) ? "master" : "slave"); printf("ast%d: ", stp->lun); printf("%dKB/s, ", stp->cap.max_speed); printf("transfer limit %d blk%s, ",