aboutsummaryrefslogtreecommitdiffstats
path: root/P2
diff options
context:
space:
mode:
authorMatt Strapp <strap012@umn.edu>2020-10-26 08:51:03 -0500
committerMatt Strapp <strap012@umn.edu>2020-10-26 08:51:03 -0500
commit506b9ebf8319f0d648cd0b33d4be0e47dbf96b26 (patch)
tree5b710413e83f2abfd20ad3e2679cea869b5479fe /P2
parentMerge pull request #10 from STRAP012/NewTemplate (diff)
downloadcsci4061-506b9ebf8319f0d648cd0b33d4be0e47dbf96b26.tar
csci4061-506b9ebf8319f0d648cd0b33d4be0e47dbf96b26.tar.gz
csci4061-506b9ebf8319f0d648cd0b33d4be0e47dbf96b26.tar.bz2
csci4061-506b9ebf8319f0d648cd0b33d4be0e47dbf96b26.tar.lz
csci4061-506b9ebf8319f0d648cd0b33d4be0e47dbf96b26.tar.xz
csci4061-506b9ebf8319f0d648cd0b33d4be0e47dbf96b26.tar.zst
csci4061-506b9ebf8319f0d648cd0b33d4be0e47dbf96b26.zip
Fix missing number of args in line 50
Diffstat (limited to 'P2')
-rw-r--r--P2/lib/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/P2/lib/utils.c b/P2/lib/utils.c
index 4d815a0..f6eb522 100644
--- a/P2/lib/utils.c
+++ b/P2/lib/utils.c
@@ -44,7 +44,7 @@ void sendChunkData(char *inputFile, int nMappers) {
else cut off before that word and put back file */
// TODO! help
- msgsnd(msgid, &message, mapperID);
+ msgsnd(msgid, &message, mapperID, 0);
}
for (long i = 1; i < nMappers; i++) {