blob: 2fbdaef1edf8a52cf0eff8774a5135fb50df7412 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- gpsd-2.39.orig/driver_sirf.c Sat Mar 7 16:30:58 2009
+++ gpsd-2.39/driver_sirf.c Tue Feb 16 21:33:16 2010
@@ -238,7 +238,7 @@ static gps_mask_t sirf_msg_debug(unsigned char *buf, s
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 */
|