Switch to unified view

a/src/utils/pathut.cpp b/src/utils/pathut.cpp
...
...
578
578
579
int Pidfile::flopen()
579
int Pidfile::flopen()
580
{
580
{
581
    const char *path = m_path.c_str();
581
    const char *path = m_path.c_str();
582
    if ((m_fd = ::open(path, O_RDWR|O_CREAT, 0644)) == -1) {
582
    if ((m_fd = ::open(path, O_RDWR|O_CREAT, 0644)) == -1) {
583
  m_reason = "Open failed";
583
  m_reason = "Open failed: [" + m_path + "]: " + strerror(errno);
584
    return -1;
584
    return -1;
585
    }
585
    }
586
586
587
#ifdef sun
587
#ifdef sun
588
    struct flock lockdata;
588
    struct flock lockdata;