summaryrefslogtreecommitdiff
path: root/gpsd.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-06-01 09:29:38 -0400
committerEric S. Raymond <esr@thyrsus.com>2015-06-01 09:29:38 -0400
commit608ac56837c7577a32ad072baf9006208d6e28cb (patch)
tree1d1176b50e7067daad45e31211f8e82d589010ba /gpsd.c
parent25a4dfb07f31a24e7ce09e8489eaf3f0a5dafa08 (diff)
downloadgpsd-608ac56837c7577a32ad072baf9006208d6e28cb.tar.gz
Add a FIXME comment abot the emergency fix.
Diffstat (limited to 'gpsd.c')
-rw-r--r--gpsd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gpsd.c b/gpsd.c
index 38c42256..416084cd 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -950,6 +950,7 @@ static bool awaken(struct gps_device_t *device)
gpsd_log(&context.errout, LOG_ERROR,
"%s: activation failed, freeing device\n",
device->gpsdata.dev.path);
+ /* FIXME: works around a crash bug, but prevents retries */
free_device(device);
return false;
} else {