ck_pr: bzero is deprecated.

ck_pring
Samy Al Bahra 13 years ago
parent f5f5074b70
commit 941542704e

@ -89,7 +89,7 @@ main(int argc, char *argv[])
fprintf(stderr, "ERROR: Could not create acquisition buffer\n");
exit(EXIT_FAILURE);
}
bzero(count, sizeof(uint64_t) * nthr);
memset(count, 0, sizeof(uint64_t) * nthr);
fprintf(stderr, "Creating threads (fairness)...");
for (i = 0; i < nthr; i++) {

@ -175,7 +175,7 @@ main(int argc, char *argv[])
fprintf(stderr, "ERROR: Could not create acquisition buffer\n");
exit(EXIT_FAILURE);
}
bzero(count, sizeof(*count) * nthr);
memset(count, 0, sizeof(*count) * nthr);
fprintf(stderr, "Creating threads (fairness)...");
for (i = 0; i < nthr; i++) {

Loading…
Cancel
Save