diff options
author | Matt Strapp <strap012@umn.edu> | 2020-10-04 11:02:35 -0500 |
---|---|---|
committer | Matt Strapp <strap012@umn.edu> | 2020-10-04 11:02:35 -0500 |
commit | cc83b975ba408b1c6380d7745aa41f212f026d1c (patch) | |
tree | e326099c3a882f4981ce42b61b7b5a9003ea8c0c /P1 | |
parent | Do part of #4 maybe (diff) | |
parent | Dereference on mapreduce.c line 36 (diff) | |
download | csci4061-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 'P1')
-rw-r--r-- | P1/src/mapreduce.c | 2 |
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); } } |