blob: d840a2a36685f0deda05b0304e916ed7c316504c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- gpsd-2.39.orig/gpspipe.c 2009-03-03 00:22:49.000000000 +0100
+++ gpsd-2.39/gpspipe.c 2009-06-13 09:14:14.000000000 +0200
@@ -108,7 +108,7 @@ static void open_serial(char* device)
}
/* Clear struct for new port settings. */
- /*@i@*/bzero(&newtio, sizeof(newtio));
+ /*@i@*/memset(&newtio, 0, sizeof(newtio));
/* make it raw */
(void)cfmakeraw(&newtio);
|