diff options
author | Michael Tatarinov <kukabu@gmail.com> | 2013-11-28 13:51:09 +0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-28 05:58:12 -0500 |
commit | e4e83b53e549845aef15d268090620440de9d29a (patch) | |
tree | 61d889727326c19b557f0ee3d49a634041012304 /gpsctl.c | |
parent | a55054c6947583ec6ebf249ab23cea87fccf70ee (diff) | |
download | gpsd-e4e83b53e549845aef15d268090620440de9d29a.tar.gz |
Use the gps_errstr() to handle gps_open() errors.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'gpsctl.c')
-rw-r--r-- | gpsctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -363,7 +363,7 @@ int main(int argc, char **argv) if (gps_open(NULL, NULL, &gpsdata) != 0) { gpsd_report(context.debug, LOG_ERROR, "no gpsd running or network error: %s.\n", - netlib_errstr(errno)); + gps_errstr(errno)); lowlevel = true; } } |