$NetBSD$

--- lib/log/log.c	2007/11/21 21:20:36	1.1
+++ lib/log/log.c	2007/11/21 21:21:07
@@ -122,7 +122,7 @@
 	}
 
 	if (_log_to_file) {
-		if (dm_fclose(_log_file)) {
+		if (fclose(_log_file)) {
 			if (errno)
 			      fprintf(stderr, "failed to write log file: %s\n",
 				      strerror(errno));
