diff options
author | green <green@FreeBSD.org> | 2000-07-31 23:36:08 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2000-07-31 23:36:08 +0000 |
commit | 268bc4c32f6600780099b40300c50b7f9c64ee45 (patch) | |
tree | 1589876b34dbd3d8d02456cd36017807c7c9b0a9 /gnu/usr.bin/sort | |
parent | 739d46b2ab908ad69030d422412235327e3e0b2e (diff) | |
download | FreeBSD-src-268bc4c32f6600780099b40300c50b7f9c64ee45.zip FreeBSD-src-268bc4c32f6600780099b40300c50b7f9c64ee45.tar.gz |
Make style match the surrounding style. Use memset() instead of bzero()
because it's standard (bah, show me a real system without bzero()...)
Noted by: bde
Diffstat (limited to 'gnu/usr.bin/sort')
-rw-r--r-- | gnu/usr.bin/sort/sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/sort/sort.c b/gnu/usr.bin/sort/sort.c index 1b5b8b0..21f4480 100644 --- a/gnu/usr.bin/sort/sort.c +++ b/gnu/usr.bin/sort/sort.c @@ -1862,7 +1862,7 @@ main (int argc, char **argv) insertkey (key); key = (struct keyfield *) xmalloc (sizeof (struct keyfield)); - bzero(key, sizeof(*key)); + memset (key, 0, sizeof (struct keyfield)); key->eword = -1; key->ignore = NULL; key->translate = NULL; |