diff options
Diffstat (limited to '')
-rw-r--r-- | P1/src/mapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/P1/src/mapper.c b/P1/src/mapper.c index 3a197e0..b401607 100644 --- a/P1/src/mapper.c +++ b/P1/src/mapper.c @@ -119,7 +119,7 @@ void writeIntermediateDS() { } // Put words and their corresponding 1's in a file named [the word].txt - char filename[BUFFSIZE] = ""; + char filename[DIRSIZE] = ""; sprintf(filename, "%s/%s.txt", mapOutDir, tempNode -> key); FILE* fptr = fopen(filename, "w"); fprintf(fptr, "%s %s", tempNode -> key, ones); |