summaryrefslogtreecommitdiff
path: root/ubxtool
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-04-19 11:22:33 -0700
committerGary E. Miller <gem@rellim.com>2019-04-19 11:22:33 -0700
commit7f4b731c773c68cecaf1723b6143252c2b4bb294 (patch)
treeabbff6306c8fada19a3827f0ccd80fb2d2a98dbb /ubxtool
parent6a03017f0f3eb7996871578c87b8b4bd321dfd64 (diff)
downloadgpsd-7f4b731c773c68cecaf1723b6143252c2b4bb294.tar.gz
ubxtool: Fix output of UBX-COMMS portId.
Diffstat (limited to 'ubxtool')
-rwxr-xr-xubxtool2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubxtool b/ubxtool
index 77448fb0..6d457e7f 100755
--- a/ubxtool
+++ b/ubxtool
@@ -2192,7 +2192,7 @@ class ubx(object):
name = "%#x (UNK)" % u[0]
if 0 < i:
s += "\n"
- s += (' Port: %u (%s)\n' % (u[1], name))
+ s += ' Port: %s\n' % name
s += (' txPending %u txBytes %u txUsage %u txPeakUsage %u\n'
' rxPending %u rxBytes %u rxUsage %u rxPeakUsage %u\n'
' overrunErrs %u msgs %u/%u/%u/%u reserved %x %x '