OSSP CVS Repository

ossp - Difference in ossp-pkg/petidomo/address-db.c versions 1.2 and 1.3
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/petidomo/address-db.c 1.2 -> 1.3

--- address-db.c 2001/01/18 20:30:50     1.2
+++ address-db.c 2001/01/19 14:56:33     1.3
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/address-db.c,v $
-   $Revision: 1.2 $
+   $Revision: 1.3 $
 
    Copyright (C) 2000 by Peter Simons <simons@computer.org>
 
@@ -69,7 +69,7 @@
     fh = fopen(file, "a");
     if (fh == NULL)
         {
-        syslog(LOG_ERR, "Failed to open file \"%s\" for writing: %m", file);
+        syslog(LOG_ERR, "Failed to open file \"%s\" for writing: %s", file, strerror(errno));
         return -1;
         }
     fprintf(fh, "%s\n", address);

CVSTrac 2.0.1