summaryrefslogtreecommitdiff
path: root/gpsdctl.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-06-25 04:51:30 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-06-25 04:51:30 -0400
commit8cb7bfa3152831fddde0a8e990b07ef43429b24e (patch)
tree0182a3ecfa9ae0637c01da6062a829e5220407c3 /gpsdctl.c
parentc90e14043d4ddbaca7d12905fe562b127ab89611 (diff)
downloadgpsd-8cb7bfa3152831fddde0a8e990b07ef43429b24e.tar.gz
No more Python in the hotplug sequence.
Diffstat (limited to 'gpsdctl.c')
-rw-r--r--gpsdctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gpsdctl.c b/gpsdctl.c
index ba17ab81..08a78216 100644
--- a/gpsdctl.c
+++ b/gpsdctl.c
@@ -117,6 +117,7 @@ static int gpsd_control(char *action, char *argument)
int main(int argc, char *argv[])
{
+ openlog("gpsdctl", 0, LOG_DAEMON);
if (argc != 3) {
(void)syslog(LOG_ERR, "requires action and argument (%d)", argc);
exit(1);