summaryrefslogtreecommitdiff
path: root/maskaudit.py
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-11-11 23:56:56 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-11-11 23:56:56 +0000
commit594d03a7a8fc985cc30d4afaa59a130988568b32 (patch)
tree742fc830c894e67abbf99e2befad3775eef875e9 /maskaudit.py
parentbc22d24703d33d05d0e866749536e8d8f37134bf (diff)
downloadgpsd-594d03a7a8fc985cc30d4afaa59a130988568b32.tar.gz
Typo fix.
Diffstat (limited to 'maskaudit.py')
-rwxr-xr-xmaskaudit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/maskaudit.py b/maskaudit.py
index b9610afa..544ec9e2 100755
--- a/maskaudit.py
+++ b/maskaudit.py
@@ -84,7 +84,7 @@ const char *gpsd_maskdump(gps_mask_t set)
print '''\
};
- memset(buf, '\0', 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) {