diff options
author | wollman <wollman@FreeBSD.org> | 1994-10-18 22:01:58 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-10-18 22:01:58 +0000 |
commit | 9461adca3b460a7172e6330b3d85fb8c6821abe5 (patch) | |
tree | 2a259ac58a2c341541b8a04743399ff11f1d5d43 /usr.sbin/lsdev | |
parent | e47a4d7333c18323a2093e7826a94846d0012d0e (diff) | |
download | FreeBSD-src-9461adca3b460a7172e6330b3d85fb8c6821abe5.zip FreeBSD-src-9461adca3b460a7172e6330b3d85fb8c6821abe5.tar.gz |
Change ``on'' to ``at'' globally.
Diffstat (limited to 'usr.sbin/lsdev')
-rw-r--r-- | usr.sbin/lsdev/i386.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/lsdev/i386.c b/usr.sbin/lsdev/i386.c index 8d6dfc5..221e279 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); } |