summaryrefslogtreecommitdiff
path: root/gpsd.h
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 /gpsd.h
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 'gpsd.h')
-rw-r--r--gpsd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsd.h b/gpsd.h
index d2ea9293..f757ce21 100644
--- a/gpsd.h
+++ b/gpsd.h
@@ -237,7 +237,7 @@ struct gps_device_t {
};
/* logging levels */
-#define LOG_ERR 0 /* errors, display always */
+#define LOG_ERROR 0 /* errors, display always */
#define LOG_SHOUT 0 /* not an error but we should always see it */
#define LOG_WARN 1 /* not errors but may indicate a problem */
#define LOG_INF 2 /* key informative messages */