From 1e9ad3ca0d9bf3e917eb2beb460421155144760a Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Sat, 15 Oct 2022 23:55:39 +0100 Subject: Remove buflib allocation names, part two Remove allocation names from the buflib API and fix up all callers. Change-Id: I3df922e258d5f0d711d70e72b56b4ed634fb0f5a --- apps/tagcache.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/tagcache.c') 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) #else /* !__PCTOOL__ */ /* Need to pass dummy ops to prevent the buffer being moved * out from under us, since we yield during the tagcache commit. */ - tempbuf_handle = core_alloc_maximum("tc tempbuf", &size, &buflib_ops_locked); + tempbuf_handle = core_alloc_maximum(&size, &buflib_ops_locked); if (tempbuf_handle > 0) { tempbuf = core_get_data(tempbuf_handle); @@ -4115,7 +4115,7 @@ static bool allocate_tagcache(void) alloc_size += tcmh.tch.entry_count*sizeof(struct dircache_fileref); #endif - int handle = core_alloc_ex("tc ramcache", alloc_size, &ops); + int handle = core_alloc_ex(alloc_size, &ops); if (handle <= 0) return false; @@ -4158,7 +4158,7 @@ static bool tagcache_dumpload(void) } /* Lets allocate real memory and load it */ - handle = core_alloc_ex("tc ramcache", shdr.tc_stat.ramcache_allocated, &ops); + handle = core_alloc_ex(shdr.tc_stat.ramcache_allocated, &ops); if (handle <= 0) { logf("alloc failure"); -- cgit v1.2.3