diff --git a/prog_limit.c b/prog_limit.c --- a/prog_limit.c +++ b/prog_limit.c @@ -33,7 +33,7 @@ args[i] = NULL; - if (set_limit (atoi (argv[1]) * 1024 * 1024) == 0) + if (set_limit (atoi (argv[1])) == 0) execvp (argv[2], args); else perror ("Limit Error");