1
0

patch-driver_sirf_c 428 B

1234567891011
  1. --- gpsd-2.95.orig/driver_sirf.c 2010-06-11 10:38:24.000000000 +0200
  2. +++ gpsd-2.95/driver_sirf.c 2010-07-30 12:53:40.000000000 +0200
  3. @@ -325,7 +325,7 @@ static gps_mask_t sirf_msg_debug(unsigne
  4. char msgbuf[MAX_PACKET_LENGTH * 3 + 2];
  5. int i;
  6. - bzero(msgbuf, (int)sizeof(msgbuf));
  7. + memset(msgbuf, 0, (int)sizeof(msgbuf));
  8. /*@ +charint @*/
  9. if (0xe1 == buf[0]) { /* Development statistics messages */