~drizzle-trunk/drizzle/jenkins-Drizzle-Builder-194

« back to all changes in this revision

Viewing changes to plugin/signal_handler/signal_handler.cc

  • Committer: Continuous Integration
  • Date: 2013-04-27 20:03:58 UTC
  • mfrom: (2633.1.11 drizzle-7.2)
  • Revision ID: ci@drizzle.org-20130427200358-77r6140iqb0orc1o
Merge lp:~brianaker/drizzle/update-bootstrap-april-20113/ Build: jenkins-Drizzle-Builder-192

Show diffs side-by-side

added added

removed removed

Lines of Context:
232
232
      if (int error= pthread_kill(thread.native_handle(), signal))
233
233
      {
234
234
        char buffer[1024]; // No reason for number;
235
 
        strerror_r(error, buffer, sizeof(buffer));
236
 
        std::cerr << "pthread_kill() error on shutdown of signal thread (" << buffer << ")\n";
 
235
        char* buffer_ptr= strerror_r(error, buffer, sizeof(buffer));
 
236
        std::cerr << "pthread_kill() error on shutdown of signal thread (" << buffer_ptr << ")\n";
237
237
        break;
238
238
      }
239
239
      else