summaryrefslogtreecommitdiff
path: root/gpsdctl.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-06-29 08:44:52 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-06-29 08:44:52 -0400
commitb158465b88083b7ad42b9ee21e8276293c1bb37c (patch)
treea38fb55d0e88c51d50a0ec51a2084678088b6735 /gpsdctl.c
parenta48dcfb2e85e5ca07458ae6dcc33087c4f27695a (diff)
downloadgpsd-b158465b88083b7ad42b9ee21e8276293c1bb37c.tar.gz
Make te default socket location available to all programs.
Diffstat (limited to 'gpsdctl.c')
-rw-r--r--gpsdctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsdctl.c b/gpsdctl.c
index b34b31a4..a69aafae 100644
--- a/gpsdctl.c
+++ b/gpsdctl.c
@@ -20,7 +20,7 @@
#include "gpsd.h"
-static char *control_socket = "/var/run/gpsd.sock";
+static char *control_socket = DEFAULT_GPSD_SOCKET;
static char *gpsd_options = "";
static int gpsd_control(char *action, char *argument)