1
0

patch-contrib_binlog_c 331 B

1234567891011
  1. --- gpsd-2.39.orig/contrib/binlog.c 2009-01-28 21:53:46.000000000 +0100
  2. +++ gpsd-2.39/contrib/binlog.c 2009-06-13 09:13:00.000000000 +0200
  3. @@ -58,7 +58,7 @@ int main(int argc, char **argv) {
  4. if (l > 0)
  5. write(ofd, buf, l);
  6. usleep(1000);
  7. - bzero(buf, BUFSIZ);
  8. + memset(buf, 0, BUFSIZ);
  9. spinner( n++ );
  10. }
  11. return 0;