prog_limit.c
changeset 51 a03372ef9714
parent 48 b94d657a9acb
child 60 47c13ca8c4d0
--- 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");