summaryrefslogtreecommitdiff
path: root/libgpsd_core.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2006-11-02 05:15:20 +0000
committerEric S. Raymond <esr@thyrsus.com>2006-11-02 05:15:20 +0000
commitbb39fd5e0d42af6d926b9547dcf33f00145c42dd (patch)
tree70efef5926d3812cf321e7f65e79b48c2d65f952 /libgpsd_core.c
parent51cce15a3b63a3802a2301fb41bdfc25d8a77228 (diff)
downloadgpsd-bb39fd5e0d42af6d926b9547dcf33f00145c42dd.tar.gz
Sigh...avoid harmless but *annoying* name collision...
between our LOG_ERR and the syslog() macro by changing ours to LOG_ERROR.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r--libgpsd_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c
index 3484ff4e..08b02b0d 100644
--- a/libgpsd_core.c
+++ b/libgpsd_core.c
@@ -49,7 +49,7 @@ int gpsd_switch_driver(struct gps_device_t *session, char* typename)
#endif /* ALLOW_RECONFIGURE */
return 1;
}
- gpsd_report(LOG_ERR, "invalid GPS type \"%s\".\n", typename);
+ gpsd_report(LOG_ERROR, "invalid GPS type \"%s\".\n", typename);
return 0;
/*@ +compmempass @*/
}