--- util.c.~1~	Sun Mar  1 09:50:07 1998
+++ util.c	Fri Jul 24 22:09:07 1998
@@ -1172,7 +1172,7 @@
 			supplement = ns;
 		    } else {
 			syslog( LOG_ERR, 
-				"impossibility 122", s );
+				"impossibility 122" );
 			exit( 2 );
 		    }
 		} else {
@@ -1686,7 +1686,7 @@
 		    error, getcwd( s, 1024 ) );
 
 	strcpy( newfile, ".overview.XXXXXX" );
-	if ( (wfd=open( mktemp(newfile), O_WRONLY|O_CREAT|O_EXCL, 0664 )) ) {
+	if ( (wfd=mkstemp(newfile)) != -1 ) {
 	    struct iovec oooh[UIO_MAXIOV];
 	    int vi, vc, va;
 
@@ -1739,8 +1739,7 @@
 		   .overview file I think */
 	    }
 	} else {
-	    syslog( LOG_ERR, "open(O_WRONLY|O_CREAT|O_EXCL) of new "
-		    ".overview failed: %m" );
+	    syslog( LOG_ERR, "mkstemp of new .overview failed: %m" );
 	}
     }
     return 1;
