summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2004-12-17 13:26:53 +0000
committerEric S. Raymond <esr@thyrsus.com>2004-12-17 13:26:53 +0000
commite7b8f8265513d82983e9d6895d329b211e258e08 (patch)
tree35856c9b51d2216c62fbb2aa26c0732fd8c538db
parent7fce2d642c62ab29d75c2602e490a1fd555eef80 (diff)
downloadgpsd-e7b8f8265513d82983e9d6895d329b211e258e08.tar.gz
Cosmetic cleanups.
-rw-r--r--AUTHORS1
-rw-r--r--gpsd.xml2
-rw-r--r--nmea_parse.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/AUTHORS b/AUTHORS
index f915c779..934cc9d3 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,3 +1,4 @@
Remco Treffkorn <remco@rvt.com>
Derrick J. Brashear <shadow@dementia.org>
+Russ Nelson <nelson@crynwyr.com>
Eric S. Raymond <esr@thyrsus.com>
diff --git a/gpsd.xml b/gpsd.xml
index af1011f9..d9dfcc09 100644
--- a/gpsd.xml
+++ b/gpsd.xml
@@ -309,7 +309,7 @@ direct-connect to the serial device has been removed.</para>
position information from the GPS. It accepts an -h option and
optional argument as for <application>gps</application>.
Additionally, it accepts -rv (reverse video) and -nc (needle color)
-options. The misfeature of previous version that allowed it to
+options. The misfeature of previous versions that allowed it to
direct-connect to the serial device has been removed.</para>
</refsect2>
diff --git a/nmea_parse.c b/nmea_parse.c
index 8dc03531..8a18c00a 100644
--- a/nmea_parse.c
+++ b/nmea_parse.c
@@ -125,7 +125,7 @@ static void merge_ddmmyy(char *ddmmyy, struct gps_data_t *out)
out->utc[4] = '-';
strncpy(out->utc+5, ddmmyy + 2, 2); /* copy month */
out->utc[7] = '-';
- strncpy(out->utc + 8, ddmmyy, 2); /* copy date */
+ strncpy(out->utc+8, ddmmyy, 2); /* copy date */
out->utc[10] = 'T';
}