diff options
Diffstat (limited to 'P1')
-rw-r--r-- | P1/src/mapreduce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/P1/src/mapreduce.c b/P1/src/mapreduce.c index 36e9045..cb171bb 100644 --- a/P1/src/mapreduce.c +++ b/P1/src/mapreduce.c @@ -13,7 +13,7 @@ int main(int argc, char *argv[]) { int nReducers = strtol(argv[2], NULL, 10); if (nMappers < nReducers) { printf("Number of mappers must be greater than or equal to the number of reducers.\n"); - exit(2); + exit(-1); } char *inputFile = argv[3]; |