1 --- sysfsutils-2.1.0.orig/cmd/names.c 2005-04-07 01:18:11.000000000 +0200
2 +++ sysfsutils-2.1.0/cmd/names.c 2008-01-24 19:07:24.000000000 +0100
6 n = malloc(sizeof(struct nl_entry));
7 - bzero(n, sizeof(struct nl_entry));
8 + memset(n, 0, sizeof(struct nl_entry));
13 err_name_list(a, "read");
14 a->nl_list[st.st_size] = 0;
15 a->nl_hash = malloc(sizeof(struct nl_entry *) * HASH_SIZE);
16 - bzero(a->nl_hash, sizeof(struct nl_entry *) * HASH_SIZE);
17 + memset(a->nl_hash, 0, sizeof(struct nl_entry *) * HASH_SIZE);