diff options
author | Zbigniew Chyla <zbigniew.chyla@nokia.com> | 2015-03-22 21:55:51 +0200 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-03-22 16:37:17 -0400 |
commit | 1e3cac574dd0f03d251066043f6bbcef64751958 (patch) | |
tree | dae69f9ea75d03336f0838c15fc7d380469d9f7f /gpspacket.c | |
parent | 5b0bba4227dedb1c0f3004e9d6b775365390be11 (diff) | |
download | gpsd-1e3cac574dd0f03d251066043f6bbcef64751958.tar.gz |
Use LOG_* symbol when setting/comparing log level
Currently, debug level 0 is actually LOG_SHOUT.
This change doesn't affect generated binary code.
Diffstat (limited to 'gpspacket.c')
-rw-r--r-- | gpspacket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpspacket.c b/gpspacket.c index d8b36685..05d8f961 100644 --- a/gpspacket.c +++ b/gpspacket.c @@ -21,7 +21,7 @@ static void basic_report(const char *buf) void errout_reset(struct gpsd_errout_t *errout) { - errout->debug = 0; + errout->debug = LOG_SHOUT; errout->report = basic_report; } |