diff options
author | Matt Strapp <strap012@umn.edu> | 2020-10-05 08:54:43 -0500 |
---|---|---|
committer | Matt Strapp <strap012@umn.edu> | 2020-10-05 08:54:43 -0500 |
commit | 71a6b4b8e95152528fc926e1a9d6f221ca6ef669 (patch) | |
tree | 9a043bcf7f37bd516b4c707cf4e88e0558d7e0ab /P1/src | |
parent | Do (diff) | |
download | csci4061-71a6b4b8e95152528fc926e1a9d6f221ca6ef669.tar csci4061-71a6b4b8e95152528fc926e1a9d6f221ca6ef669.tar.gz csci4061-71a6b4b8e95152528fc926e1a9d6f221ca6ef669.tar.bz2 csci4061-71a6b4b8e95152528fc926e1a9d6f221ca6ef669.tar.lz csci4061-71a6b4b8e95152528fc926e1a9d6f221ca6ef669.tar.xz csci4061-71a6b4b8e95152528fc926e1a9d6f221ca6ef669.tar.zst csci4061-71a6b4b8e95152528fc926e1a9d6f221ca6ef669.zip |
Change filename size
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 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); |