~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/errmsg_print.cc

  • Committer: LinuxJedi
  • Date: 2010-09-02 15:42:57 UTC
  • mto: (1747.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1748.
  • Revision ID: linuxjedi@linuxjedi-laptop-20100902154257-ez7kd3ajov745o45
Make sure unireg_abort shows the reason for the fail.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
{
39
39
  char errmsg[STRERROR_MAX];
40
40
  strerror_r(errno, errmsg, sizeof(errmsg));
41
 
  errmsg_printf(ERRMSG_LVL_ERROR, "%s: %s", message, errmsg);
 
41
  errmsg_printf(ERRMSG_LVL_ERROR, "%s: %s\n", message, errmsg);
42
42
}
43
43
 
44
44
bool errmsg_printf (int priority, char const *format, ...)