summaryrefslogtreecommitdiff
path: root/gpsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpsd.c')
-rw-r--r--gpsd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gpsd.c b/gpsd.c
index 09690620..ed3ba1f0 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -1812,8 +1812,7 @@ int main(int argc, char *argv[])
bool go_background = true;
volatile bool in_restart;
- gps_context_init(&context);
- context.errout.label = "gpsd";
+ gps_context_init(&context, "gpsd");
#ifdef CONTROL_SOCKET_ENABLE
INVALIDATE_SOCKET(csock);