summaryrefslogtreecommitdiff
path: root/gpsctl.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-09-20 14:01:17 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-09-20 14:01:17 -0400
commitf66460894d1a1f1b6af01a3ea323d400bc0fdf93 (patch)
tree739b6bc024a286cedcf2c46b439b72b1ff67fc1e /gpsctl.c
parent1615e8900f9231fc97c1213ffee9b78b0633764e (diff)
downloadgpsd-f66460894d1a1f1b6af01a3ea323d400bc0fdf93.tar.gz
Permit error messages from gpsctl again.
Diffstat (limited to 'gpsctl.c')
-rw-r--r--gpsctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpsctl.c b/gpsctl.c
index 7cb0eb50..e8876b16 100644
--- a/gpsctl.c
+++ b/gpsctl.c
@@ -197,6 +197,8 @@ int main(int argc, char **argv)
ssize_t cooklen = 0;
#endif /* RECONFIGURE_ENABLE */
+ context.errout.label = "gpsctl";
+
#define USAGE "usage: gpsctl [-l] [-b | -n | -r] [-D n] [-s speed] [-c rate] [-T timeout] [-V] [-t devtype] [-x control] [-e] <device>\n"
while ((option = getopt(argc, argv, "bec:fhlnrs:t:x:D:T:V")) != -1) {
switch (option) {