summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2019-08-29 02:05:58 +0000
committerdlg <dlg@openbsd.org>2019-08-29 02:05:58 +0000
commitf81e38846015328739d9a402407322e989b7bb29 (patch)
tree978a875f82662ca7118001d772b1904900ebd138
parentUse ACPI information to attach PCI busses like we do on arm64. There are a (diff)
downloadwireguard-openbsd-f81e38846015328739d9a402407322e989b7bb29.tar.xz
wireguard-openbsd-f81e38846015328739d9a402407322e989b7bb29.zip
make the list of OM fibre distances go OM1, OM2, OM3, not OM2, OM1, OM3
-rw-r--r--sbin/ifconfig/sff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ifconfig/sff.c b/sbin/ifconfig/sff.c
index b3b11a75c86..7569883f8fb 100644
--- a/sbin/ifconfig/sff.c
+++ b/sbin/ifconfig/sff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sff.c,v 1.18 2019/08/28 01:52:38 dlg Exp $ */
+/* $OpenBSD: sff.c,v 1.19 2019/08/29 02:05:58 dlg Exp $ */
/*
* Copyright (c) 2019 David Gwynne <dlg@openbsd.org>
@@ -604,8 +604,8 @@ if_sff_printmedia(const struct if_sffpage *pg, const struct sff_media_map *m)
if_sff_printdist("m SMF", pg->sff_data[m->dist_smf_m], 100);
else
if_sff_printdist("km SMF", pg->sff_data[m->dist_smf_km], 1);
- if_sff_printdist("m OM2", pg->sff_data[m->dist_om2], m->scale_om2);
if_sff_printdist("m OM1", pg->sff_data[m->dist_om1], m->scale_om1);
+ if_sff_printdist("m OM2", pg->sff_data[m->dist_om2], m->scale_om2);
if_sff_printdist("m OM3", pg->sff_data[m->dist_om3], m->scale_om3);
if_sff_printdist("m", pg->sff_data[m->dist_cu], 1);
}