From 93bd6b70fc76cafaec6280f8d45e470ef74d34d1 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Tue, 3 Nov 2020 09:58:32 -0600 Subject: help --- P2/lib/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'P2') diff --git a/P2/lib/utils.c b/P2/lib/utils.c index 1fa9611..7cc4d7c 100644 --- a/P2/lib/utils.c +++ b/P2/lib/utils.c @@ -52,7 +52,7 @@ void sendChunkData(char *inputFile, int nMappers) { fseek(file, (i - 1023), SEEK_CUR); message.msgType = (map++ % nMappers) + 1; // printf("%s\n\n",message.msgText); - msgsnd(msgid, &message, map, 0); + msgsnd(msgid, &message, MSGSIZE, 0); } for (int i = 1; i <= nMappers; i++) { -- cgit v1.2.3