Skip to content

Commit eedd5bc

Browse files
committed
pkeyread: output counts array allocation error to stderr
Signed-off-by: Eugene Syromiatnikov <[email protected]>
1 parent aa43767 commit eedd5bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/pkeyread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ int main(int argc, char * const argv[])
396396

397397
counts = OPENSSL_malloc(sizeof(size_t) * threadcount);
398398
if (counts == NULL) {
399-
printf("Failed to create counts array\n");
399+
fprintf(stderr, "Failed to create counts array\n");
400400
return EXIT_FAILURE;
401401
}
402402

0 commit comments

Comments
 (0)