]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
- Two identical log messages for commit_leases() have been disambiguated.
authorDavid Hankins <dhankins@isc.org>
Fri, 10 Sep 2010 22:04:19 +0000 (22:04 +0000)
committerDavid Hankins <dhankins@isc.org>
Fri, 10 Sep 2010 22:04:19 +0000 (22:04 +0000)
  [ISC-Bugs #18915]

RELNOTES
server/db.c

index 230d275014ec01d92c3cc0c779bba9ccbf5a5142..cad1c957f189b645b9f64679c8e38f17a580e1e5 100644 (file)
--- a/RELNOTES
+++ b/RELNOTES
@@ -100,6 +100,9 @@ work on other platforms. Please report any problems and suggested fixes to
   code to move most of the common code to a single routine.
   [ISC-Bugs #21171].
 
+- Two identical log messages for commit_leases() have been disambiguated.
+  [ISC-Bugs #18915]
+
                        Changes since 4.2.0b2
 
 - Add declaration for variable in debug code in alloc.c.  [ISC-Bugs #21472]
index 9a903e04dc031faf8be33cd7fe91a95a119dbe04..0b7ccf9fab2989249709391367c576dd546fae5b 100644 (file)
@@ -988,11 +988,11 @@ int commit_leases ()
           We need to do this even if we're rewriting the file below,
           just in case the rewrite fails. */
        if (fflush (db_file) == EOF) {
-               log_info ("commit_leases: unable to commit: %m");
+               log_info ("commit_leases: unable to commit, fflush(): %m");
                return 0;
        }
        if (fsync (fileno (db_file)) < 0) {
-               log_info ("commit_leases: unable to commit: %m");
+               log_info ("commit_leases: unable to commit, fsync(): %m");
                return 0;
        }