From 71a6b4b8e95152528fc926e1a9d6f221ca6ef669 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Mon, 5 Oct 2020 08:54:43 -0500 Subject: Change filename size --- P1/src/mapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3