diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2019-03-07 16:29:02 +0100 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2019-03-07 16:29:02 +0100 |
commit | 39ad0db84adecfeb8ec2e2c7628b9d55a3fe0894 (patch) | |
tree | 3c1b19d3b85ccda5c17242f054fd8e3ea092cfc6 /src/postprocess/sort_plz.c | |
parent | 072d7dc38ebf8ac7e9b35afec8692a71dd7cdfbe (diff) |
Build all postprocess tools with make
Diffstat (limited to 'src/postprocess/sort_plz.c')
-rw-r--r-- | src/postprocess/sort_plz.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/postprocess/sort_plz.c b/src/postprocess/sort_plz.c index 4c30ea3..dc0b222 100644 --- a/src/postprocess/sort_plz.c +++ b/src/postprocess/sort_plz.c | |||
@@ -84,6 +84,8 @@ int main(int argc, char **args) { | |||
84 | char *input = malloc(1024); | 84 | char *input = malloc(1024); |
85 | size_t input_size = 1024; | 85 | size_t input_size = 1024; |
86 | 86 | ||
87 | if (argc != 1) exit(1); | ||
88 | |||
87 | /* First open all input files */ | 89 | /* First open all input files */ |
88 | for (i=F_01; i<F_COUNT; ++i) { | 90 | for (i=F_01; i<F_COUNT; ++i) { |
89 | in_handles[i] = fopen_prefix(args[1], i, 1); | 91 | in_handles[i] = fopen_prefix(args[1], i, 1); |