title: How to fix this compiler error 'format not a string literal and no format arguments'
body: <p>I have the compiler error:</p>
  
  <pre><code>libvncserver/main.c:245: error: format not a string literal and no format arguments
  </code></pre>
  
  <p>And line 245 is:</p>
  
  <pre><code>fprintf(stderr,buf);
  </code></pre>
  
  <p>where buf is "char buf[256];"</p>
  
  <p>I don't see what is wrong with line 245 and how can I fix it?
  When I comment out that line, the program compiles.</p>