aboutsummaryrefslogtreecommitdiffstats
path: root/P2
diff options
context:
space:
mode:
authorMatt Strapp <strap012@umn.edu>2020-11-03 12:20:30 -0600
committerMatt Strapp <strap012@umn.edu>2020-11-03 12:20:30 -0600
commit6d2c74b3df002d86674d46ecab0ac68dfb6ee3d3 (patch)
tree324843169eac3294a0ef8aac9dbaa51e044851d3 /P2
parenthelp (diff)
downloadcsci4061-6d2c74b3df002d86674d46ecab0ac68dfb6ee3d3.tar
csci4061-6d2c74b3df002d86674d46ecab0ac68dfb6ee3d3.tar.gz
csci4061-6d2c74b3df002d86674d46ecab0ac68dfb6ee3d3.tar.bz2
csci4061-6d2c74b3df002d86674d46ecab0ac68dfb6ee3d3.tar.lz
csci4061-6d2c74b3df002d86674d46ecab0ac68dfb6ee3d3.tar.xz
csci4061-6d2c74b3df002d86674d46ecab0ac68dfb6ee3d3.tar.zst
csci4061-6d2c74b3df002d86674d46ecab0ac68dfb6ee3d3.zip
change args
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 0ff8b24..180949d 100644
--- a/P2/lib/utils.c
+++ b/P2/lib/utils.c
@@ -20,7 +20,7 @@ char *getChunkData(int mapperID) {
//Message
struct msgBuffer message = makeMessage();
//Queue ID
- int mid = openQueue("map");
+ int mid = openQueue();
printf("MAPPER ID:%d\n", mapperID);
msgrcv(mid, &message, MSGSIZE, mapperID, 0);
// printf("\n%s\n", message.msgText);