summaryrefslogtreecommitdiff
path: root/package/gpsd/patches/patch-driver_sirf_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/gpsd/patches/patch-driver_sirf_c')
-rw-r--r--package/gpsd/patches/patch-driver_sirf_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/gpsd/patches/patch-driver_sirf_c b/package/gpsd/patches/patch-driver_sirf_c
new file mode 100644
index 000000000..1e44cee91
--- /dev/null
+++ b/package/gpsd/patches/patch-driver_sirf_c
@@ -0,0 +1,11 @@
+--- gpsd-2.39.orig/driver_sirf.c 2009-03-07 16:30:58.000000000 +0100
++++ gpsd-2.39/driver_sirf.c 2009-06-13 09:13:42.000000000 +0200
+@@ -238,7 +238,7 @@ static gps_mask_t sirf_msg_debug(unsigne
+ char msgbuf[MAX_PACKET_LENGTH*3 + 2];
+ int i;
+
+- bzero(msgbuf, (int)sizeof(msgbuf));
++ memset(msgbuf, 0, (int)sizeof(msgbuf));
+
+ /*@ +charint @*/
+ if (0xe1 == buf[0]) { /* Development statistics messages */