Changeset 6062

Show
Ignore:
Timestamp:
04/14/10 09:31:52 (3 years ago)
Author:
Cyrus
Message:

upsd: verbosity

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • luci2/upsd/worker.c

    r6059 r6062  
    182182        } else { 
    183183            if (!(fp = fopen(pidfile, "w"))) { 
    184                 UPSD_LOG_WARN("Unable to write pidfile '%s'", pidfile); 
     184                UPSD_LOG_WARN("Unable to write pidfile '%s': %s", 
     185                            pidfile, strerror(errno)); 
    185186            } else { 
    186187                fprintf(fp, "%i\n", (int)pid);