diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2011-07-10 22:59:00 +0200 |
---|---|---|
committer | Clemens Ladisch <clemens@ladisch.de> | 2012-05-18 14:04:30 +0200 |
commit | 6389ae74689449a212e9ed0e46526afc4adc331e (patch) | |
tree | b5d34c6642951c8b12daabee57419efe403a1bc2 | |
parent | f5263f6ae3e3ab3636e20b24838d78126d762b38 (diff) | |
download | linux-firewire-utils-6389ae74689449a212e9ed0e46526afc4adc331e.tar.gz |
lsfirewirephy: change output format
Write "bus x, node y" instead of just "x.y" to prevent these numbers
from being misinterpreted as device/unit numbers.
-rw-r--r-- | src/lsfirewirephy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lsfirewirephy.c b/src/lsfirewirephy.c index fc20d2d..9722564 100644 --- a/src/lsfirewirephy.c +++ b/src/lsfirewirephy.c @@ -398,7 +398,7 @@ static void list_phy(void) vendor = search_vendor(oui); phy = vendor ? search_phy(vendor, id) : NULL; - printf("%u.%d: %06x:%06x ", get_info.card, list_phy_id, oui, id); + printf("bus %u, node %d: %06x:%06x ", get_info.card, list_phy_id, oui, id); if (vendor) printf("%s %s\n", vendor->name, phy ? phy->name : "(unknown)"); else |