Loading...
cache-builder/OptimizerObjC.cpp dyld-960 dyld-941.4
--- dyld/dyld-960/cache-builder/OptimizerObjC.cpp
+++ dyld/dyld-941.4/cache-builder/OptimizerObjC.cpp
@@ -173,7 +173,7 @@
 
     pint_t getVMAddress(pint_t index) const {
         if ( index >= _count ) {
-            _cache->diagnostics().error("index out of range in section (%s)", _section->sectname());
+            _cache->diagnostics().error("index out of range in section %s", _section->sectname());
             return 0;
         }
         return (pint_t)P::getP(_base[index]);
@@ -189,7 +189,7 @@
 
     void setVMAddress(pint_t index, pint_t value) {
         if ( index >= _count ) {
-            _cache->diagnostics().error("index out of range in section (%s)", _section->sectname());
+            _cache->diagnostics().error("index out of range in section %s", _section->sectname());
             return;
         }
         P::setP(_base[index], value);
@@ -234,7 +234,7 @@
 
     T& get(uint64_t index) const { 
         if (index >= _count) {
-            _cache->diagnostics().error("index out of range in section (%s)", _section->sectname());
+            _cache->diagnostics().error("index out of range in section %s", _section->sectname());
         }
         return _base[index];
     }
@@ -684,7 +684,7 @@
         const char* className = cls->getName(cache);
 
         if (cls->getVTable(cache) != 0) {
-            diag.error("Class (%s) has non-zero vtable\n", className);
+            diag.error("Class '%s' has non-zero vtable\n", className);
             return;
         }