hard == rlim_max
authorDaniel Hokka Zakrisson <dhokka@cs.princeton.edu>
Tue, 12 Aug 2008 16:51:43 +0000 (16:51 +0000)
committerDaniel Hokka Zakrisson <dhokka@cs.princeton.edu>
Tue, 12 Aug 2008 16:51:43 +0000 (16:51 +0000)
src/planetlab.c

index 9a3e571..5211ba0 100644 (file)
@@ -349,7 +349,7 @@ adjust_lim(const struct vc_rlimit *vcr, struct rlimit *lim)
       if (vcr->hard < vcr->min)
        break;
     case 0:
-       lim->rlim_cur = vcr->hard;
+       lim->rlim_max = vcr->hard;
        adjusted = 1;
     }
   }