summaryrefslogtreecommitdiff
path: root/gpsmon.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-03-03 20:26:54 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-03-03 20:26:54 +0000
commite8d9e98b6ab51c59fac69848636692853365fc3c (patch)
tree0a23c5ac61de0509b3619cefc17ed93770a5a2ba /gpsmon.c
parentad9f128f2a53288f5b2121704ffc1973a3cf3fd3 (diff)
downloadgpsd-e8d9e98b6ab51c59fac69848636692853365fc3c.tar.gz
Correct previous commit.
Diffstat (limited to 'gpsmon.c')
-rw-r--r--gpsmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsmon.c b/gpsmon.c
index 9a9b9978..27f5edf1 100644
--- a/gpsmon.c
+++ b/gpsmon.c
@@ -515,7 +515,7 @@ int main (int argc, char **argv)
/*@ -observertrans @*/
for (;;) {
- type_name = session.device_type ? session->device_type->type_name : "Unknown device";
+ type_name = session.device_type ? session.device_type->type_name : "Unknown device";
(void)wattrset(statwin, A_BOLD);
if (serial)
display(statwin, 0, 0, "%s %4d %c %d",