title: Warning: "format not a string literal and no format arguments"
body: <p>Since upgrading to the latest Xcode 3.2.1 and Snow Leopard, I've been getting the warning</p>
  
  <blockquote>
    <p>"format not a string literal and no format arguments"</p>
  </blockquote>
  
  <p>from the following code:</p>
  
  <pre><code>NSError *error = nil;
  
  if (![self.managedObjectContext save:&amp;error]) 
  {
      NSLog([NSString stringWithFormat:@"%@ %@, %@", 
         errorMsgFormat, 
         error, 
         [error userInfo]]);      
  
  }
  </code></pre>
  
  <p>If <code>errorMsgFormat</code> is an <code>NSString</code> with format specifiers (eg: <code>"print me like this: %@"</code>), what is wrong with the above <code>NSLog</code> call? And what is the recommended way to fix it so that the warning isn't generated?</p>