OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] Simplify /proc/cgroups
Re: [PATCH] Simplify /proc/cgroups [message #21937 is a reply to message #21936] Thu, 18 October 2007 03:17 Go to previous message
KAMEZAWA Hiroyuki is currently offline  KAMEZAWA Hiroyuki
Messages: 463
Registered: September 2006
Senior Member
On Wed, 17 Oct 2007 19:56:36 -0700 (PDT)
menage@google.com (Paul Menage) wrote:

> +		seq_printf(m, "%s\t%d\t%d\n",
> +			   ss->name, ss->root->subsys_bits,
> +			   ss->root->number_of_cgroups);
>  	}
Because subsys_bits is unsigned long, then %lu or %lx is better.

Thanks,
-Kame

_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Previous Topic: [PATCH 0/7] Next step in consolidating the IP fragment management
Next Topic: [PATCH] Fix return type for snmp6_free_dev()
Goto Forum:
  


Current Time: Sun Aug 24 06:42:26 GMT 2025

Total time taken to generate the page: 0.10435 seconds