aboutsummaryrefslogtreecommitdiffstats
path: root/P1
diff options
context:
space:
mode:
authorMatt Strapp <strap012@umn.edu>2020-10-04 11:02:35 -0500
committerMatt Strapp <strap012@umn.edu>2020-10-04 11:02:35 -0500
commitcc83b975ba408b1c6380d7745aa41f212f026d1c (patch)
treee326099c3a882f4981ce42b61b7b5a9003ea8c0c /P1
parentDo part of #4 maybe (diff)
parentDereference on mapreduce.c line 36 (diff)
downloadcsci4061-cc83b975ba408b1c6380d7745aa41f212f026d1c.tar
csci4061-cc83b975ba408b1c6380d7745aa41f212f026d1c.tar.gz
csci4061-cc83b975ba408b1c6380d7745aa41f212f026d1c.tar.bz2
csci4061-cc83b975ba408b1c6380d7745aa41f212f026d1c.tar.lz
csci4061-cc83b975ba408b1c6380d7745aa41f212f026d1c.tar.xz
csci4061-cc83b975ba408b1c6380d7745aa41f212f026d1c.tar.zst
csci4061-cc83b975ba408b1c6380d7745aa41f212f026d1c.zip
Merge branch 'master' of github.umn.edu:STRAP012/csci4061Projects
Diffstat (limited to '')
-rw-r--r--P1/src/mapreduce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/P1/src/mapreduce.c b/P1/src/mapreduce.c
index 9fad791..807c1af 100644
--- a/P1/src/mapreduce.c
+++ b/P1/src/mapreduce.c
@@ -33,7 +33,7 @@ int main(int argc, char *argv[]) {
//TODO: exec here
char num[10];
sprintf(num, "%d", i);
- execl("./mapper", "./mapper", num, NULL);
+ execl("./mapper", "./mapper", &num, NULL);
}
}