aboutsummaryrefslogtreecommitdiffstats
path: root/security/tomoyo/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/tomoyo/memory.c')
-rw-r--r--security/tomoyo/memory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/tomoyo/memory.c b/security/tomoyo/memory.c
index 95a77599ff98..a4aba4d9ca2e 100644
--- a/security/tomoyo/memory.c
+++ b/security/tomoyo/memory.c
@@ -234,7 +234,7 @@ unsigned int tomoyo_quota_for_query;
234 */ 234 */
235void tomoyo_read_memory_counter(struct tomoyo_io_buffer *head) 235void tomoyo_read_memory_counter(struct tomoyo_io_buffer *head)
236{ 236{
237 if (!head->read_eof) { 237 if (!head->r.eof) {
238 const unsigned int policy 238 const unsigned int policy
239 = atomic_read(&tomoyo_policy_memory_size); 239 = atomic_read(&tomoyo_policy_memory_size);
240 const unsigned int query = tomoyo_query_memory_size; 240 const unsigned int query = tomoyo_query_memory_size;
@@ -258,7 +258,7 @@ void tomoyo_read_memory_counter(struct tomoyo_io_buffer *head)
258 tomoyo_io_printf(head, "Query lists: %10u%s\n", query, 258 tomoyo_io_printf(head, "Query lists: %10u%s\n", query,
259 buffer); 259 buffer);
260 tomoyo_io_printf(head, "Total: %10u\n", policy + query); 260 tomoyo_io_printf(head, "Total: %10u\n", policy + query);
261 head->read_eof = true; 261 head->r.eof = true;
262 } 262 }
263} 263}
264 264