aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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);
}
}