Fix compilation on *BSD
This commit is contained in:
parent
26fd49485a
commit
7c5ca16168
1 changed files with 2 additions and 1 deletions
3
runner.c
3
runner.c
|
@ -32,6 +32,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
int i, pass = 0, fail = 0, skip = 0, total, ret, read = 0;
|
||||
|
@ -49,7 +50,7 @@ int main(int argc, char *argv[]) {
|
|||
if (read) {
|
||||
fail++;
|
||||
printf("\033[0;31mFailed\033[0m\n");
|
||||
fprintf(stderr, "%s\n", &output);
|
||||
fprintf(stderr, "%s\n", (char*)&output);
|
||||
continue;
|
||||
}
|
||||
switch (WEXITSTATUS(ret)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue