diff options
author | edwin <edwin@FreeBSD.org> | 2010-08-19 21:59:39 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2010-08-19 21:59:39 +0000 |
commit | 3307198f061e60ddc4086ac034465b250f943765 (patch) | |
tree | 3d3271b9e00f024a921e1d842990f3dc4ac6c63e /usr.bin | |
parent | 053ba6dde7f8a7cf613fdf514fc7244daa3e8f01 (diff) | |
download | FreeBSD-src-3307198f061e60ddc4086ac034465b250f943765.zip FreeBSD-src-3307198f061e60ddc4086ac034465b250f943765.tar.gz |
'\0' -> 0
Fix silly mistake by being overly zeaolous[sp] of applying the style rules.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/calendar/locale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/calendar/locale.c b/usr.bin/calendar/locale.c index 1f9227a..7018428 100644 --- a/usr.bin/calendar/locale.c +++ b/usr.bin/calendar/locale.c @@ -76,7 +76,7 @@ setnnames(void) int i, l; struct tm tm; - memset(&tm, '\0', sizeof(struct tm)); + memset(&tm, 0, sizeof(struct tm)); for (i = 0; i < 7; i++) { tm.tm_wday = i; strftime(buf, sizeof(buf), "%a", &tm); @@ -104,7 +104,7 @@ setnnames(void) fndays[i].len = strlen(buf); } - memset(&tm, '\0', sizeof(struct tm)); + memset(&tm, 0, sizeof(struct tm)); for (i = 0; i < 12; i++) { tm.tm_mon = i; strftime(buf, sizeof(buf), "%b", &tm); |