diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-11-12 21:36:48 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-12 21:36:48 -0500 |
commit | 7127622632ac2824a659a0d0acde60a4a95185f8 (patch) | |
tree | 4c007702a77b78a4d0a28f555b1dc12f74a669ed /gpsmon.c | |
parent | 695da3accde7b3dade03a1034b1caf56501418f3 (diff) | |
download | gpsd-7127622632ac2824a659a0d0acde60a4a95185f8.tar.gz |
In gpsmon, more informative error messages.
Diffstat (limited to 'gpsmon.c')
-rw-r--r-- | gpsmon.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -636,7 +636,8 @@ static bool do_command(void) /* *INDENT-ON* */ } else monitor_complain - ("Device type has no rate switcher"); + ("Device type %s has no rate switcher", + (*switcher)->driver->type_name); } #endif /* RECONFIGURE_ENABLE */ break; @@ -702,7 +703,8 @@ static bool do_command(void) (void)usleep(50000); } else monitor_complain - ("Device type has no mode switcher"); + ("Device type %s has no mode switcher", + (*switcher)->driver->type_name); } break; #endif /* RECONFIGURE_ENABLE */ @@ -776,7 +778,8 @@ static bool do_command(void) context.readonly = true; } else monitor_complain - ("Device type has no speed switcher"); + ("Device type %s has no speed switcher", + (*switcher)->driver->type_name); /* *INDENT-ON* */ refresh_statwin(); } |