From 63ec88f55f8bbe4b2adf614e8037cd06bfffcc8c Mon Sep 17 00:00:00 2001 From: Brian Feldman Date: Mon, 31 Jul 2000 23:36:08 +0000 Subject: [PATCH] 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 --- gnu/usr.bin/sort/sort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/usr.bin/sort/sort.c b/gnu/usr.bin/sort/sort.c index 1b5b8b06b3c..21f4480c37a 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;