diff options
Diffstat (limited to 'tools/000_gendata')
| -rw-r--r-- | tools/000_gendata/gendata.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/000_gendata/gendata.c b/tools/000_gendata/gendata.c index eec9f76..0d647f9 100644 --- a/tools/000_gendata/gendata.c +++ b/tools/000_gendata/gendata.c | |||
| @@ -17,8 +17,8 @@ run(void) { | |||
| 17 | case -2: | 17 | case -2: |
| 18 | goto gendata_run_finish; | 18 | goto gendata_run_finish; |
| 19 | default: | 19 | default: |
| 20 | nissy_datainfo(buf, write_stdout); | 20 | nissy_datainfo(size, buf, write_stdout); |
| 21 | consistent = nissy_checkdata(solver, buf) == 0; | 21 | consistent = nissy_checkdata(size, buf) == 0; |
| 22 | expected = check_distribution(solver, buf); | 22 | expected = check_distribution(solver, buf); |
| 23 | if (consistent && expected) { | 23 | if (consistent && expected) { |
| 24 | printf("\n"); | 24 | printf("\n"); |
| @@ -42,7 +42,7 @@ int main(int argc, char **argv) { | |||
| 42 | uint8_t h, k; | 42 | uint8_t h, k; |
| 43 | 43 | ||
| 44 | if (argc < 2) { | 44 | if (argc < 2) { |
| 45 | fprintf(stderr, "Error: not enough arguments. " | 45 | printf("Error: not enough arguments. " |
| 46 | "A solver must be given.\n"); | 46 | "A solver must be given.\n"); |
| 47 | return 1; | 47 | return 1; |
| 48 | } | 48 | } |
