Browse Source

fix fprintf in tests

tags/1.0.0
Chris Cromer 10 months ago
parent
commit
a04bf8a8e0
Signed by: Chris Cromer <chris@cromer.cl> GPG Key ID: 39CC813FF3C8708A
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      test/test.c

+ 3
- 3
test/test.c View File

@@ -59,17 +59,17 @@ int main(int argc, char **argv) {

test_case = malloc(sizeof(int) * n);
if (test_case == NULL) {
fprintf("Error: Out of heap space!\n");
fprintf(stderr, "Error: Out of heap space!\n");
exit(1);
}
qarray = malloc(sizeof(int) * n);
if (qarray == NULL) {
fprintf("Error: Out of heap space!\n");
fprintf(stderr, "Error: Out of heap space!\n");
exit(1);
}
test_array = malloc(sizeof(int) * n);
if (test_array == NULL) {
fprintf("Error: Out of heap space!\n");
fprintf(stderr, "Error: Out of heap space!\n");
exit(1);
}


Loading…
Cancel
Save