aboutsummaryrefslogtreecommitdiffstats
path: root/P1/src/mapper.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--P1/src/mapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/P1/src/mapper.c b/P1/src/mapper.c
index 87a95ad..a729060 100644
--- a/P1/src/mapper.c
+++ b/P1/src/mapper.c
@@ -113,7 +113,7 @@ void writeIntermediateDS() {
}
// Shove word and ones in a file named word.txt
- char filename[100];
+ char filename[50];
sprintf(filename, "output/MapOut/Map_%d/%s.txt", mapperID, tempNode -> key);
FILE* fptr = fopen(filename, "w");
fprintf(fptr, "%s %s", tempNode -> key, ones);