aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1994-10-18 22:01:58 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1994-10-18 22:01:58 +0000
commit5b36462392e0da713ff227b7c9b73136a4a8058c (patch)
tree2a259ac58a2c341541b8a04743399ff11f1d5d43
parente7f092ddf69b5b3ed86a258ccf90a1fed52453a5 (diff)
downloadsrc-5b36462392e0da713ff227b7c9b73136a4a8058c.tar.gz
src-5b36462392e0da713ff227b7c9b73136a4a8058c.zip
Change ``on'' to ``at'' globally.
Notes
Notes: svn path=/head/; revision=3700
-rw-r--r--usr.sbin/lsdev/i386.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/lsdev/i386.c b/usr.sbin/lsdev/i386.c
index 8d6dfc58da61..221e27995251 100644
--- a/usr.sbin/lsdev/i386.c
+++ b/usr.sbin/lsdev/i386.c
@@ -16,14 +16,14 @@ print(struct devconf *dc)
switch(dc->dc_devtype) {
case MDDT_CPU:
- printf("CPU on %s", dc->dc_parent);
+ printf("CPU %s%d", dc->dc_name, dc->dc_unit);
break;
case MDDT_ISA:
if(dc->dc_datalen >= ISA_EXTERNALLEN) {
print_isa(dc);
} else {
printit:
- printf("%s%d on %s",
+ printf("%s%d at %s",
dc->dc_name, dc->dc_unit, dc->dc_parent);
}
break;
@@ -58,11 +58,11 @@ printit:
default:
if(dc->dc_devtype >= NDEVTYPES) {
- printf("%s%d (#%d) on %s",
+ printf("%s%d (#%d) at %s",
dc->dc_name, dc->dc_unit, dc->dc_devtype,
dc->dc_parent);
} else {
- printf("%s%d (%s) on %s",
+ printf("%s%d (%s) at %s",
dc->dc_name, dc->dc_unit,
devtypes[dc->dc_devtype], dc->dc_parent);
}
@@ -151,7 +151,7 @@ print_pci(struct devconf *dc)
* be made to serve.
*/
- printf("%s%d on %s", dc->dc_name, dc->dc_unit, dc->dc_parent);
+ printf("%s%d %s", dc->dc_name, dc->dc_unit, dc->dc_parent);
}
static void
@@ -159,7 +159,7 @@ print_scsi(struct devconf *dc)
{
struct scsi_link *sl = (struct scsi_link *)dc->dc_data;
- printf("%s%d on SCSI bus %d:%d:%d",
+ printf("%s%d at SCSI bus %d:%d:%d",
dc->dc_name, dc->dc_unit, sl->scsibus, sl->target,
sl->lun);
if(vflag) {
@@ -177,7 +177,7 @@ print_disk(struct devconf *dc)
{
int *slavep = (int *)dc->dc_data;
- printf("%s%d on %s drive %d",
+ printf("%s%d at %s drive %d",
dc->dc_name, dc->dc_unit, dc->dc_parent, *slavep);
}