summaryrefslogtreecommitdiff
path: root/apps/tagcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r--apps/tagcache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index c853c9d5e8..69a6eaade5 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -410,7 +410,7 @@ static void allocate_tempbuf(void)
410#else /* !__PCTOOL__ */ 410#else /* !__PCTOOL__ */
411 /* Need to pass dummy ops to prevent the buffer being moved 411 /* Need to pass dummy ops to prevent the buffer being moved
412 * out from under us, since we yield during the tagcache commit. */ 412 * out from under us, since we yield during the tagcache commit. */
413 tempbuf_handle = core_alloc_maximum("tc tempbuf", &size, &buflib_ops_locked); 413 tempbuf_handle = core_alloc_maximum(&size, &buflib_ops_locked);
414 if (tempbuf_handle > 0) 414 if (tempbuf_handle > 0)
415 { 415 {
416 tempbuf = core_get_data(tempbuf_handle); 416 tempbuf = core_get_data(tempbuf_handle);
@@ -4115,7 +4115,7 @@ static bool allocate_tagcache(void)
4115 alloc_size += tcmh.tch.entry_count*sizeof(struct dircache_fileref); 4115 alloc_size += tcmh.tch.entry_count*sizeof(struct dircache_fileref);
4116#endif 4116#endif
4117 4117
4118 int handle = core_alloc_ex("tc ramcache", alloc_size, &ops); 4118 int handle = core_alloc_ex(alloc_size, &ops);
4119 if (handle <= 0) 4119 if (handle <= 0)
4120 return false; 4120 return false;
4121 4121
@@ -4158,7 +4158,7 @@ static bool tagcache_dumpload(void)
4158 } 4158 }
4159 4159
4160 /* Lets allocate real memory and load it */ 4160 /* Lets allocate real memory and load it */
4161 handle = core_alloc_ex("tc ramcache", shdr.tc_stat.ramcache_allocated, &ops); 4161 handle = core_alloc_ex(shdr.tc_stat.ramcache_allocated, &ops);
4162 if (handle <= 0) 4162 if (handle <= 0)
4163 { 4163 {
4164 logf("alloc failure"); 4164 logf("alloc failure");