diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-11-11 16:35:59 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-11-11 16:35:59 +0000 |
commit | 6f80c1a7630158a04f31b7514d0054ca98be14e8 (patch) | |
tree | 9828b184cb594f449cc24e9a108b148f3cee9846 /maskaudit.py | |
parent | f176802eca7450cf351f31c2907387e41960cfa1 (diff) | |
download | gpsd-6f80c1a7630158a04f31b7514d0054ca98be14e8.tar.gz |
Splint cleanup. All regression tests pass.
Diffstat (limited to 'maskaudit.py')
-rwxr-xr-x | maskaudit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maskaudit.py b/maskaudit.py index f64b0805..b9610afa 100755 --- a/maskaudit.py +++ b/maskaudit.py @@ -84,7 +84,7 @@ const char *gpsd_maskdump(gps_mask_t set) print '''\ }; - bzero(buf, sizeof(buf)); + memset(buf, '\0', sizeof(buf)); buf[0] = '{'; for (sp = names; sp < names + sizeof(names)/sizeof(names[0]); sp++) if ((set & sp->mask)!=0) { |