X-Git-Url: http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=blobdiff_plain;f=security%2Ftomoyo%2Fmemory.c;h=8de5333109aa26f62a0d01f7b76f3e6828ec8aee;hp=4809febc1acbce5e7e41741bb4a262cd651d272d;hb=8fbe71f0e0ac28a39e4a93694c34d670c2f31e88;hpb=cb917cf517075a357ce43b74e8a5a57f2c69a734 diff --git a/security/tomoyo/memory.c b/security/tomoyo/memory.c index 4809feb..8de5333 100644 --- a/security/tomoyo/memory.c +++ b/security/tomoyo/memory.c @@ -184,7 +184,7 @@ unsigned int tomoyo_quota_for_query; * * Returns memory usage. */ -int tomoyo_read_memory_counter(struct tomoyo_io_buffer *head) +void tomoyo_read_memory_counter(struct tomoyo_io_buffer *head) { if (!head->read_eof) { const unsigned int policy @@ -212,7 +212,6 @@ int tomoyo_read_memory_counter(struct tomoyo_io_buffer *head) tomoyo_io_printf(head, "Total: %10u\n", policy + query); head->read_eof = true; } - return 0; } /**