]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/db_gcc_aout.c
xnu-1456.1.26.tar.gz
[apple/xnu.git] / osfmk / i386 / db_gcc_aout.c
index 93ddcb531a0a514b1ad1ebdd6a81156da4193d52..508146b9623e96b916b1bf700033fbed4427f81b 100644 (file)
@@ -653,7 +653,7 @@ read_symtab_from_file(fp, symtab_name)
        table_size = sizeof(int) + symsize + strsize;
        table_size = (table_size + sizeof(int)-1) & ~(sizeof(int)-1);
 
        table_size = sizeof(int) + symsize + strsize;
        table_size = (table_size + sizeof(int)-1) & ~(sizeof(int)-1);
 
-       result = kmem_alloc_wired(kernel_map, &symtab, table_size);
+       result = kmem_alloc_kobject(kernel_map, &symtab, table_size);
        if (result) {
            boot_printf("[ error %d allocating space for %s symbol table ]\n",
                        result, symtab_name);
        if (result) {
            boot_printf("[ error %d allocating space for %s symbol table ]\n",
                        result, symtab_name);