Date: Mon, 28 Jun 2010 20:14:27 GMT From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 180304 for review Message-ID: <201006282014.o5SKER7R072313@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@180304?ac=10 Change 180304 by trasz@trasz_victim on 2010/06/28 20:13:30 Fix build with HRL enabled. Affected files ... .. //depot/projects/soc2009/trasz_limits/sys/kern/kern_container.c#5 edit Differences ... ==== //depot/projects/soc2009/trasz_limits/sys/kern/kern_container.c#5 (text+ko) ==== @@ -246,6 +246,9 @@ int hrl_alloc(struct proc *p, int resource, uint64_t amount) { +#ifdef HRL + int error; +#endif #if 0 printf("hrl_alloc: allocating %ju of %s for %s (pid %d)\n", amount, hrl_resource_name(resource), p->p_comm, p->p_pid); @@ -279,6 +282,9 @@ hrl_allocated(struct proc *p, int resource, uint64_t amount) { int64_t diff; +#ifdef HRL + int error; +#endif #if 0 printf("hrl_allocated: allocated %lld of %s for %s (pid %d)\n", amount, hrl_resource_name(resource), p->p_comm, p->p_pid);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006282014.o5SKER7R072313>