fix fprintf in tests

Este commit está contenido en:
Chris Cromer 2018-11-14 20:21:15 -03:00
padre d65c8fbb33
commit a04bf8a8e0
Firmado por: cromer
ID de clave GPG: 39CC813FF3C8708A
Se han modificado 1 ficheros con 3 adiciones y 3 borrados

Ver fichero

@ -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);
}